woocommerce_paypal_account_restriction_notices_enabled
woocommerce_paypal_account_restriction_notices_enabled
Appears in: woocommerce.10.4.3
Hook Type: filter
See hook in action
Displaying hooks found in version: woocommerce.10.4.3apply_filters('woocommerce_paypal_account_restriction_notices_enabled') is found 1 times:
- /includes/gateways/paypal/class-wc-gateway-paypal.php line 1054
* @since 10.4.0 * * @param bool $enabled Whether account restriction notices are enabled. Default true. */ if ( ! apply_filters( 'woocommerce_paypal_account_restriction_notices_enabled', true ) ) { return; } WC_Gateway_Paypal_Notices::manage_account_restriction_flag_for_notice( $http_code, $response_data, $order ); } }