Skip to content

Instantly share code, notes, and snippets.

@rcstr

rcstr/dip.php Secret

Last active March 14, 2021 16:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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