Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Adds custom HTML attributes to the checkout page HTML element.
Parameters #
$attributes(array) Array of HTML attributes as key-value pairs. Defaults toarray().
Examples #
/**
* Add custom HTML attributes to checkout page
*/
function add_custom_html_attributes( $attributes ) {
$attributes['custom-attribute'] = 'custom-checkout-attribute';
return $attributes;
}
add_filter( 'fc_checkout_html_custom_attributes', 'add_custom_html_attributes', 10 );
