wc_payment_gateway_form_saved_payment_methods_html
Usage
add_filter( 'wc_payment_gateway_form_saved_payment_methods_html', 'wp_kama_wc_payment_gateway_form_saved_methods_html_filter', 10, 2 );
/**
* Function for `wc_payment_gateway_form_saved_payment_methods_html` filter-hook.
*
* @param $html
* @param $that
*
* @return
*/
function wp_kama_wc_payment_gateway_form_saved_methods_html_filter( $html, $that ){
// filter...
return $html;
}
- $html
- -
- $that
- -
Where the hook is called
wc_payment_gateway_form_saved_payment_methods_html
woocommerce/includes/abstracts/abstract-wc-payment-gateway.php 598
echo apply_filters( 'wc_payment_gateway_form_saved_payment_methods_html', $html, $this ); // @codingStandardsIgnoreLine