Tag Info

New answers tagged


EDIT - SOLUTION I got the solution using status 'new_to_pending' and adding the $auto object. function newpost_notify( $auto ) { $mailadmin = 'xxx@domain.com'; $subject = 'Subject'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n"; $headers .= 'From: xxx <noreply@domain.com>' . ...


I never saw a plugin that does that, but it's interesting. You can create a custom meta field for users, and re-create the function wp_notify_postauthor(); which is the responsible for sending messages to author. https://codex.wordpress.org/Function_Reference/wp_notify_postauthor

Top 50 recent answers are included