Skip to main content

fc_output_checkout_contact_login_cta_section

Type: Filter

Filters whether the contact step shows the login call to action.

Signature​

apply_filters( 'fc_output_checkout_contact_login_cta_section', $value );

Parameters​

NameTypeDescription
$valuestringValue to filter. Default yes.

Since​

  • 1.4.2

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

Examples​

add_filter( 'fc_output_checkout_contact_login_cta_section',
/**
* Hide login CTA section.
*
* @param string $value Value to filter. Default yes.
* @return string Filtered value.
*/
function( $value ) {
return 'no';
},
10
);