Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Modifies the login button CSS class for the CTA link.
This is part of the Call-to-Action (CTA) link. This button is designed to trigger the display of the login modal (a pop-up window for logging in). However, this hook specifically affects the CTA link’s appearance or behavior, not the button from the “Log in to your account” modal itself.
Parameters #
$class(string) The CSS class. Defaults tofc-contact-login__action--underline.
Examples #
/**
* Customize login button class
*/
function customize_login_button_class( $class ) {
$class .= ' custom-button-class';
return $class;
}
add_filter( 'fc_checkout_login_button_class', 'customize_login_button_class', 10 );
