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: < ?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 = get_the_author_meta( […]

Jan 05 2015
Nov 18 2014
Oct 30 2014
Oct 25 2014