Skip to content

Instantly share code, notes, and snippets.

@rcstr

rcstr/dip.php Secret

Last active Mar 14, 2021
Embed
What would you like to do?
<?php
/**
* @param string $html
* @param WC_Payment_Gateway $payment_method
*/
function rcstr_payment_gateway_form_saved_payment_methods_html( string $html, WC_Payment_Gateway $payment_method ) {
return $html;
}
add_filter( 'wc_payment_gateway_form_saved_payment_methods_html', 'rcstr_payment_gateway_form_saved_payment_methods_html', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment