woocommerce_payment_gateway_get_saved_payment_method_option_html хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_payment_gateway_get_saved_payment_method_option_html', 'wp_kama_woocommerce_payment_gateway_get_saved_method_option_html_filter', 10, 3 );

/**
 * Function for `woocommerce_payment_gateway_get_saved_payment_method_option_html` filter-hook.
 * 
 * @param  $html  
 * @param  $token 
 * @param  $that  
 *
 * @return 
 */
function wp_kama_woocommerce_payment_gateway_get_saved_method_option_html_filter( $html, $token, $that ){

	// filter...
	return $html;
}
$html
-
$token
-
$that
-

Где вызывается хук

WC_Payment_Gateway::get_saved_payment_method_option_html()
woocommerce_payment_gateway_get_saved_payment_method_option_html
woocommerce/includes/abstracts/abstract-wc-payment-gateway.php 511
return apply_filters( 'woocommerce_payment_gateway_get_saved_payment_method_option_html', $html, $token, $this );

Где используется хук в WooCommerce

Использование не найдено.