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

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

add_filter( 'woocommerce_no_available_payment_methods_message', 'wp_kama_woocommerce_no_available_payment_methods_message_filter' );

/**
 * Function for `woocommerce_no_available_payment_methods_message` filter-hook.
 * 
 * @param  $esc_html__() 
 *
 * @return 
 */
function wp_kama_woocommerce_no_available_payment_methods_message_filter( $esc_html__() ){

	// filter...
	return $esc_html__();
}
$esc_html__()
-

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

В файле: /templates/checkout/payment.php
woocommerce_no_available_payment_methods_message
woocommerce/templates/checkout/payment.php 34
wc_print_notice( apply_filters( 'woocommerce_no_available_payment_methods_message', WC()->customer->get_billing_country() ? esc_html__( 'Sorry, it seems that there are no available payment methods. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) : esc_html__( 'Please fill in your details above to see available payment methods.', 'woocommerce' ) ), 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
woocommerce/templates/checkout/form-pay.php 89
wc_print_notice( apply_filters( 'woocommerce_no_available_payment_methods_message', esc_html__( 'Sorry, it seems that there are no available payment methods for your location. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) ), 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment

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

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