woocommerce_allow_payment_recommendations filter-hookWC 1.0

Usage

add_filter( 'woocommerce_allow_payment_recommendations', 'wp_kama_woocommerce_allow_payment_recommendations_filter' );

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

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

Where the hook is called

Init::should_display()
woocommerce_allow_payment_recommendations
woocommerce/src/Admin/Features/PaymentGatewaySuggestions/Init.php 104
return apply_filters( 'woocommerce_allow_payment_recommendations', true );

Where the hook is used in WooCommerce

Usage not found.