Skip to main content

fc_output_checkout_contact_logout_cta_section

Type: Filter

Filters whether the contact step shows the logout call to action for logged-in customers.

Signature​

apply_filters( 'fc_output_checkout_contact_logout_cta_section', $value );

Parameters​

NameTypeDescription
$valuestringValue to filter. Default no.

Since​

  • 2.0.0

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

Examples​

add_filter( 'fc_output_checkout_contact_logout_cta_section',
/**
* Show logout CTA section for logged-in users.
*
* @param string $value Value to filter. Default no.
* @return string Filtered value.
*/
function( $value ) {
return 'yes';
},
10
);