fc_checkout_progress_bar_display_count
Type: Filter
Filters whether the progress bar shows the current step number.
Signature
apply_filters( 'fc_checkout_progress_bar_display_count', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether the feature is enabled. Default true. |
Since
4.1.0
Source: inc/checkout-steps.php
Examples
add_filter( 'fc_checkout_progress_bar_display_count',
/**
* Hide step count in progress bar.
*
* @param bool $enabled Whether the feature is enabled. Default true.
* @return bool Filtered value.
*/
function( $enabled ) {
return false;
},
10
);