Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Modifies the separator text between login and guest checkout sub-sections.
This filter’s behavior is directly tied to the WooCommerce “Enable guest checkout” setting found in WooCommerce > Settings > Accounts & Privacy > Checkout. When guest checkout is enabled, the separator text defaults to “Or continue as a guest”, and when disabled, it shows “Or continue below”.
Parameters #
$text(string) The separator text.
Examples #
/**
* Customize login separator text
* This will override the default text in both scenarios (guest checkout enabled/disabled)
*/
function customize_login_separator_text( $text ) {
// This will be used regardless of guest checkout setting
return __( 'Or continue with your purchase', 'my-theme' );
}
add_filter( 'fc_checkout_login_separator_text', 'customize_login_separator_text', 10 );
