Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'cron_test_hookname', 'cron_test_function' );
- function cron_test_function() {
- $email = 'kingrahulsarkar@gmail.com';
- $headers = 'From: '. $email . "rn" .
- 'Reply-To: ' . $email . "rn";
- wp_mail('shanpro.2015@gmail.com', 'WP Crontrol', 'WP Crontrol rocks!', $headers);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement