woocommerce_payment_gateway_save_new_payment_method_option_html хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_payment_gateway_save_new_payment_method_option_html', 'filter_function_name_7733', 10, 2 ); function filter_function_name_7733( $html, $that ){ // filter... return $html; }
- $html
- -
- $that
- -
Где вызывается хук
woocommerce_payment_gateway_save_new_payment_method_option_html
woocommerce/includes/abstracts/abstract-wc-payment-gateway.php 545
echo apply_filters( 'woocommerce_payment_gateway_save_new_payment_method_option_html', $html, $this ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped