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/form-pay.php
woocommerce_no_available_payment_methods_message
woocommerce/templates/checkout/form-pay.php 79
echo '<li class="woocommerce-notice woocommerce-notice--info woocommerce-info">' . 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' ) ) . '</li>'; // @codingStandardsIgnoreLine
woocommerce/templates/checkout/payment.php 33
echo '<li class="woocommerce-notice woocommerce-notice--info woocommerce-info">' . 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 for your state. 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' ) ) . '</li>'; // @codingStandardsIgnoreLine

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

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