fc_checkout_display_create_account_optional_label
Type: Filter
Filters whether the account creation section shows an "optional" label.
Signature
apply_filters( 'fc_checkout_display_create_account_optional_label', $label );
Parameters
| Name | Type | Description |
|---|---|---|
$label | bool | Label text. Default true. |
Since
3.0.3
Source: templates/fc/checkout-steps/checkout/form-account-creation.php
Examples
add_filter( 'fc_checkout_display_create_account_optional_label',
/**
* Hide optional label for account creation.
*
* @param bool $label Label text. Default true.
* @return bool Filtered value.
*/
function( $label ) {
return false;
},
10
);