Метод |
Описание |
|
activate_all_crons ( ) |
Activates widget update cron task. |
|
activate_cron ( string $cron_name ) : boolean |
Activate a single cron |
|
activate_crons_on_jetpack_activation ( string $plugin_file_name ) |
Only activate the crons if it is Jetpack that was activated. |
|
add_30_minute_cron_interval ( array $current_schedules ) : array |
Adds 30 minute running interval to the cron schedules. |
|
check_cron ( string $cron_name ) : integer | boolean |
Is the given cron job currently active? |
|
deactivate_all_crons ( ) |
Deactivates any crons associated with the VideoPress module. |
|
deactivate_cron ( $cron_name ) : boolean |
Deactivates any crons associated with the VideoPress module. |
|
get_crons ( ) : array |
Get a list of all of the crons that are available. |
|
init ( ) : VideoPress_Scheduler |
Initialize the VideoPress_Scheduler and get back a singleton instance. |
|
is_cron_valid ( string $cron_name ) : boolean |
Check that the given cron job name is valid. |
|