PHP Class Jetpack_JSON_API_Cron_Endpoint, jetpack

Inheritance: extends Jetpack_JSON_API_Endpoint
Mostrar archivo Open project: automattic/jetpack

Protected Properties

Property Type Description
$needed_capabilities

Protected Methods

Method Description
get_cron_lock ( ) : integer This function is based on the one found in wp-cron.php with a similar name
get_schedules ( $hook, $args )
is_cron_locked ( $gmt_time )
lock_cron ( )
maybe_unlock_cron ( $doing_wp_cron )
resolve_arguments ( )
result ( )
sanitize_hook ( $hook )
validate_call ( $_blog_id, $capability, $check_manage_active = true )

Method Details

get_cron_lock() protected method

This function is based on the one found in wp-cron.php with a similar name
protected get_cron_lock ( ) : integer
return integer

get_schedules() protected method

protected get_schedules ( $hook, $args )

is_cron_locked() protected method

protected is_cron_locked ( $gmt_time )

lock_cron() protected method

protected lock_cron ( )

maybe_unlock_cron() protected method

protected maybe_unlock_cron ( $doing_wp_cron )

resolve_arguments() protected method

protected resolve_arguments ( )

result() protected method

protected result ( )

sanitize_hook() protected method

protected sanitize_hook ( $hook )

validate_call() protected method

protected validate_call ( $_blog_id, $capability, $check_manage_active = true )

Property Details

$needed_capabilities protected_oe property

protected $needed_capabilities