Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $timeg = date( 'g:ia', current_time( 'timestamp', 0 ));
- $timem = '12:54pm';
- if ($timem == $timeg)
- {
- $to = 'abc@gmail.com';
- $subject = 'Post Published by Author';
- $headers = 'From: admin <admin@urdutahzeeb.com>' . "rn";
- $message = 'your';
- wp_mail($to, $subject, $message, $headers);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement