Snippets

Visser Labs Editing Scheduled Export e-mail content

Created by Michael Visser
<?php
function custom_woo_ce_email_contents( $content = '' ) {

    // Change the below text so whatever you prefer
    $content = 'Please find attached your export ready to review.';

    // wpautop() changes double line-breaks in the text into HTML paragraphs
    $content = wpautop( $content );
    return $content;

}
add_filter( 'woo_ce_email_contents', 'custom_woo_ce_email_contents' );
?>

Comments (0)