Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Adds custom HTML attributes to checkout wrapper inside element.
Parameters #
$attributes(array) Array of HTML attributes as key-value pairs.
Examples #
Currently does not accept class attributes.
/**
* Add custom attributes to checkout wrapper inside element
*/
function add_custom_wrapper_inside_attributes( $attributes ) {
$attributes['data-custom'] = 'fc-inside-custom-data';
return $attributes;
}
add_filter( 'fc_checkout_wrapper_inside_element_custom_attributes', 'add_custom_wrapper_inside_attributes', 10 );
