WordPress at Your Fingertips
filter is not described

woocommerce_should_load_paypal_standard filter-hook . WC 5.5.0

Allow third-parties to filter whether PayPal Standard should be loaded or not.

Usage

add_filter( 'woocommerce_should_load_paypal_standard', 'filter_function_name_3464', 10, 2 );
function filter_function_name_3464( $should_load, $that ){
	// filter...

	return $should_load;
}
$should_load(true|false)
Whether PayPal Standard should be loaded.
$that(WC_Gateway_Paypal)
The WC_Gateway_Paypal instance.

Changelog

Since 5.5.0 Introduced.

Where the hook is called

WC_Gateway_Paypal::should_load()
woocommerce_should_load_paypal_standard
woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php 512
return apply_filters( 'woocommerce_should_load_paypal_standard', $should_load, $this );

Where in WP core the hook is used WooCommerce

Usage not found.