Skip to main content

fc_checkout_progress_bar_style

Type: Filter

Filters the progress bar style slug.

Signature​

apply_filters( 'fc_checkout_progress_bar_style', $progress_bar_style );

Parameters​

NameTypeDescription
$progress_bar_stylestringProgress bar style slug. bars or breadcrumbs.

Since​

  • 4.1.0

Source: inc/checkout-steps.php

Examples​

add_filter( 'fc_checkout_progress_bar_style',
/**
* Force breadcrumbs style.
*
* @param string $progress_bar_style Progress bar style slug. bars or breadcrumbs.
* @return string Filtered value.
*/
function( $progress_bar_style ) {
return 'breadcrumbs';
},
10
);