woocommerce_admin_payment_gateway_suggestion_specs filter-hookWC 1.0

Get specs or fetch remotely if they don't exist.

Usage

add_filter( 'woocommerce_admin_payment_gateway_suggestion_specs', 'wp_kama_woocommerce_admin_payment_gateway_suggestion_specs_filter' );

/**
 * Function for `woocommerce_admin_payment_gateway_suggestion_specs` filter-hook.
 * 
 * @param  $DefaultPaymentGateways::get_all 
 *
 * @return 
 */
function wp_kama_woocommerce_admin_payment_gateway_suggestion_specs_filter( $DefaultPaymentGateways::get_all ){

	// filter...
	return $DefaultPaymentGateways::get_all;
}
$DefaultPaymentGateways::get_all
-

Where the hook is called

Init::get_specs()
woocommerce/src/Admin/Features/PaymentGatewaySuggestions/Init.php 78
return apply_filters( 'woocommerce_admin_payment_gateway_suggestion_specs', DefaultPaymentGateways::get_all() );
woocommerce/src/Admin/Features/PaymentGatewaySuggestions/Init.php 84
return apply_filters( 'woocommerce_admin_payment_gateway_suggestion_specs', DefaultPaymentGateways::get_all() );
woocommerce/src/Admin/Features/PaymentGatewaySuggestions/Init.php 87
return apply_filters( 'woocommerce_admin_payment_gateway_suggestion_specs', $specs );

Where the hook is used in WooCommerce

Usage not found.