fc_enable_checkout_ajax_login
Type: Filter
Filters whether AJAX login is enabled at checkout.
Signature
apply_filters( 'fc_enable_checkout_ajax_login', $enabled );
Parameters
| Name | Type | Description |
|---|---|---|
$enabled | bool | Whether the feature is enabled. Default true. |
Since
4.0.4
Source: inc/checkout-login.php
Examples
add_filter( 'fc_enable_checkout_ajax_login',
/**
* Disable AJAX login at checkout.
*
* @param bool $enabled Whether the feature is enabled. Default true.
* @return bool Filtered value.
*/
function( $enabled ) {
return false;
},
10
);