Apr 02 2015
Mar 10 2015
Jan 12 2015
Readmore

How to Notify Administrator When User Published a Post on WordPress?

Do you have multi-author WordPress site and you want to get notification when an user published a post? Here is the solution: [code lang=”php”] < ?php /** * Notify admin when user published post * @author: takien */ function notify_admin_published_post( $ID, $post ) { $emailed_to = 'admin@example.com';//edit this, your email here. $author_id = $post->post_author; $author_name […]

Jan 05 2015
Nov 18 2014