The MU forums have moved to

Author posts and editor or admin Reviews it. (3 posts)

  1. bonechair
    Posted 13 years ago #

    Hi I am working on a plugin and I need some help with the code.

    I want an editor to post and then be automatically set the post to pending and then admin gets mailed and admin and can review the post.

    Please help me with advice on coding. Rough idea below but I need to rewrite.

    function pending_notify() {
         @wp_mail($admin_email, $subject, $notify_message);

    Can you help please?

  2. andrea_r
    Posted 13 years ago #

    there are a few plugins alreayd available to do this:

  3. bonechair
    Posted 13 years ago #

    Thanks I looked at some of the plugins but I want to create one myself.

About this Topic

  • Started 13 years ago by bonechair
  • Latest reply from bonechair