Skip to content

Instantly share code, notes, and snippets.

@raamdev
Created January 23, 2014 16:31
Show Gist options
  • Select an option

  • Save raamdev/8581781 to your computer and use it in GitHub Desktop.

Select an option

Save raamdev/8581781 to your computer and use it in GitHub Desktop.
add_filter() example
<?php
add_filter( 'stcr_confirmation_email_message', 'modify_email_message', 10, 3 );
function modify_email_message( $message, $_post_ID, $email ) {
$message = $message . "Adding something to the end of my email confirmation message.";
return $message;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment