mail scheduling
-
Hi Franky,
I still have the malfunction of my site because of the deprogramming at my insue of eme_cron_send_queued in the WP-cron.
I have not yet found the cause of the disappearance of this task and I was wondering if I could add a hook in the functions file of my theme. The hook would be :add_action( 'eme_', 'mon_test_cron' ); function mon_test_cron() { if (!wp_next_scheduled('eme_cron_send_queued')){ wp_schedule_event(time(), '5min', 'eme_cron_send_queued'); } }I need to replace ’eme_’ with the correct eme function, for example when a member logs in to the site or after they have made a booking.
This way I can be sure that ’eme_cron_send_queued’ is planned correctly.
Is it a good idea? What do you think of this?
Frédéric
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘mail scheduling’ is closed to new replies.