woocommerce_allow_shipping_partner_suggestions filter-hookWC 7.4.1

The return value can be controlled via woocommerce_allow_shipping_partner_suggestions filter.

Usage

add_filter( 'woocommerce_allow_shipping_partner_suggestions', 'wp_kama_woocommerce_allow_shipping_partner_suggestions_filter' );

/**
 * Function for `woocommerce_allow_shipping_partner_suggestions` filter-hook.
 * 
 * @param  $true 
 *
 * @return 
 */
function wp_kama_woocommerce_allow_shipping_partner_suggestions_filter( $true ){

	// filter...
	return $true;
}
$true
-

Changelog

Since 7.4.1 Introduced.

Where the hook is called

ShippingPartnerSuggestions::should_display()
woocommerce_allow_shipping_partner_suggestions
woocommerce/src/Admin/API/ShippingPartnerSuggestions.php 88
return apply_filters( 'woocommerce_allow_shipping_partner_suggestions', true );

Where the hook is used in WooCommerce

Usage not found.