Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Adds custom HTML attributes to the progress bar element.
Parameters #
$attributes(array) Array of HTML attributes as key-value pairs.
Examples #
/**
* Add custom attributes to progress bar
*/
function add_custom_progress_bar_attributes( $attributes ) {
// Add custom class to existing classes
$attributes['class'] .= ' custom-progress-bar';
return $attributes;
}
add_filter( 'fc_checkout_progress_bar_attributes', 'add_custom_progress_bar_attributes', 10 );
