woocommerce_payment_gateway_add_payment_method_delay filter-hookWC 1.0

Test rate limit.

Usage

add_filter( 'woocommerce_payment_gateway_add_payment_method_delay', 'wp_kama_woocommerce_payment_gateway_add_method_delay_filter' );

/**
 * Function for `woocommerce_payment_gateway_add_payment_method_delay` filter-hook.
 * 
 * @param  $20 
 *
 * @return 
 */
function wp_kama_woocommerce_payment_gateway_add_method_delay_filter( $20 ){

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

Where the hook is called

WC_Form_Handler::add_payment_method_action()
woocommerce_payment_gateway_add_payment_method_delay
woocommerce/includes/class-wc-form-handler.php 487
$delay           = (int) apply_filters( 'woocommerce_payment_gateway_add_payment_method_delay', 20 );

Where the hook is used in WooCommerce

Usage not found.