Skip to main content

fc_checkout_login_cta_text

Type: Filter

Filters the call-to-action text prompting customers to log in.

Signature​

apply_filters( 'fc_checkout_login_cta_text', $text );

Parameters​

NameTypeDescription
$textstringText to display.

Since​

  • 1.2.0

Source: templates/fc/checkout-steps/checkout/form-contact-login.php

Examples​

add_filter( 'fc_checkout_login_cta_text',
/**
* Customize login CTA text.
*
* @param string $text Text to display.
* @return string Filtered value.
*/
function( $text ) {
return __( 'Returning customer?', 'my-theme' );
},
10
);