0
votes
1answer
173 views

Sends out email to admin with post author

Hello i'm using this : add_action('publish_post', 'send_admin_email'); function send_admin_email($post_id){ $to = 'admin@email.here'; $subject = 'subject'; $message = "Here is ...