PHP Class Automattic\WP\Cron_Control\Main

Inheritance: extends Singleton
Afficher le fichier Open project: Automattic/vip-mu-plugins-public

Méthodes publiques

Méthode Description
admin_notice ( ) Display an error if the plugin's conditions aren't met
block_direct_cron ( ) Block direct cron execution as early as possible
block_spawn_cron ( $spawn_cron_args ) Block the spawn_cron() function

Méthodes protégées

Méthode Description
class_init ( ) Register hooks

Private Methods

Méthode Description
set_constants ( ) Define constants that block Core's cron

Method Details

admin_notice() public méthode

Display an error if the plugin's conditions aren't met
public admin_notice ( )

block_direct_cron() public méthode

Block direct cron execution as early as possible
public block_direct_cron ( )

block_spawn_cron() public méthode

Block the spawn_cron() function
public block_spawn_cron ( $spawn_cron_args )

class_init() protected méthode

Register hooks
protected class_init ( )