woocommerce_payment_gateway_save_new_payment_method_option_html
Usage
add_filter( 'woocommerce_payment_gateway_save_new_payment_method_option_html', 'wp_kama_woocommerce_payment_gateway_save_new_method_option_html_filter', 10, 2 ); /** * Function for `woocommerce_payment_gateway_save_new_payment_method_option_html` filter-hook. * * @param $html * @param $that * * @return */ function wp_kama_woocommerce_payment_gateway_save_new_method_option_html_filter( $html, $that ){ // filter... return $html; }
- $html
- -
- $that
- -
Where the hook is called
woocommerce_payment_gateway_save_new_payment_method_option_html
woocommerce/includes/abstracts/abstract-wc-payment-gateway.php 549
echo apply_filters( 'woocommerce_payment_gateway_save_new_payment_method_option_html', $html, $this ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped