Timeline for Send email to user that his post has been rejected
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 10, 2013 at 12:17 | history | tweeted | twitter.com/#!/StackWordPress/status/388277012424830976 | ||
Sep 16, 2013 at 9:50 | vote | accept | Asped | ||
Sep 15, 2013 at 22:17 | answer | added | gmazzap | timeline score: 3 | |
Sep 14, 2013 at 13:21 | comment | added | Nicolai Grossherr |
Another idea, use the wp_trash_post or the before_delete_post action to hook in. There are others - documented here: codex.wordpress.org/Plugin_API/Action_Reference
|
|
Sep 14, 2013 at 13:13 | review | Suggested edits | |||
Sep 14, 2013 at 13:44 | |||||
Sep 14, 2013 at 13:09 | comment | added | Nicolai Grossherr | No time for a complete answer, so I comment to give you a hint what to do. You can either use ajax or put the button in a form to execute your reject function on button click. Take a look around, I'm 100% certain this has been answered on here. Good luck! | |
Sep 14, 2013 at 10:20 | comment | added | Asped | Here is the snipplet which send the approval mail: paulund.co.uk/send-email-to-wordpress-author-on-post-publish But this is automated. I need the rejection to be per click | |
Sep 14, 2013 at 10:00 | history | edited | brasofilo | CC BY-SA 3.0 |
Raw link into hyperlink. Removed unrelated content.
|
Sep 14, 2013 at 9:58 | comment | added | brasofilo | For a complete context, how are you sending the approval email? | |
Sep 14, 2013 at 8:34 | history | edited | Asped | CC BY-SA 3.0 |
added 49 characters in body
|
Sep 14, 2013 at 8:26 | comment | added | Rarst | What is "wp_user_frontend" ? If this is plugin please link to it so others don't have to look it up. | |
Sep 14, 2013 at 8:22 | history | asked | Asped | CC BY-SA 3.0 |