Skip to content

Instantly share code, notes, and snippets.

@tribulant
Created August 12, 2014 13:38
Show Gist options
  • Save tribulant/67cc565e4d42537ea321 to your computer and use it in GitHub Desktop.
Save tribulant/67cc565e4d42537ea321 to your computer and use it in GitHub Desktop.
Checkout: Filter - checkout_processing_output Example
<?php
// Change the "Processing Order..." output on the payment page of the checkout procedure
function processing_output($html = null, $pmethod = null) {
// Change $html here as needed
$html = 'New text or html for the payment page...';
return $html;
}
add_filter('checkout_processing_output', 'processing_output', 10, 2);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment