Skip to content

Instantly share code, notes, and snippets.

@swoboda
Created March 28, 2018 13:47
Show Gist options
  • Save swoboda/e28475dc3cec84b24a72851f0a671bb1 to your computer and use it in GitHub Desktop.
Save swoboda/e28475dc3cec84b24a72851f0a671bb1 to your computer and use it in GitHub Desktop.
woocommerce-payment-status-note
<?php
// Do NOT include the opening php tag
add_filter( 'woocommerce_payment_status_note', 'wpdesk_payment_status_note' );
/**
* Change order note for WooCommerce Automatic Payment Status
*
*/
function wpdesk_payment_status_note() {
return 'Order completed. Yeah!';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment