Skip to main content

fc_apply_button_colors_styles

Type: Filter

Filters whether Fluid Checkout button color styles are applied.

Signature​

apply_filters( 'fc_apply_button_colors_styles', $value );

Parameters​

NameTypeDescription
$valueboolValue to filter. Default false.

Since​

  • 2.5.1

Source: inc/design-templates.php

Examples​

add_filter( 'fc_apply_button_colors_styles',
/**
* Enable custom button colors.
*
* @param bool $value Value to filter. Default false.
* @return bool Filtered value.
*/
function( $value ) {
return true;
},
10
);