Created
April 22, 2022 08:02
-
-
Save bradleysa/9ee5334451760604bd13623489b0ca44 to your computer and use it in GitHub Desktop.
Print Invoice: Remove Payment Method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function example_removed_payment_method( $fields ) { | |
unset( $fields['payment_method'] ); | |
return $fields; | |
} | |
add_filter( 'wcdn_order_info_fields', 'example_removed_payment_method' ); | |
/** https://copperpanjams.com/wp-admin/index.php?page=wcdn_faq_page **/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment