[wp-hackers] Difference between wp_unschedule_event and wp_clear_scheduled_hook ?

Rajasekharan S rajasekharan.s at tcs.com
Fri May 28 11:46:58 UTC 2010


Hi,

I have been going through the Function reference and the descriptions for 
both the following functions are identical. Are they functionally 
equivalent?

wp_clear_scheduled_hook
Un-schedules all previously-scheduled cron jobs using a particular hook 
name.

wp unschedule event
Un-schedules a previously-scheduled cron job. You need to know the exact 
time of the next occurrence when scheduled hook was set to run, and the 
function arguments it was supposed to have, in order to unschedule it. All 
future occurrences are un-scheduled by calling this function.

What is the difference in function between these functions?

Warm Regards,
Raj Sekharan
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




More information about the wp-hackers mailing list