PHP Class Jetpack_Sync_Actions, jetpack

It also binds the action to send data to WPCOM to Jetpack's XMLRPC client object.
Afficher le fichier Open project: automattic/jetpack Class Usage Examples

Méthodes publiques

Свойство Type Description
$listener
$sender

Méthodes publiques

Méthode Description
add_sender_shutdown ( )
cleanup_on_upgrade ( )
do_cron_full_sync ( )
do_cron_sync ( ) or we hit a lock or some other sending issue
do_full_sync ( $modules = null )
do_initial_sync ( $new_version = null, $old_version = null )
init ( ) 5 * MINUTE_IN_SECONDS;
init_sync_cron_jobs ( )
initialize_listener ( )
initialize_sender ( )
jetpack_cron_schedule ( $schedules )
maybe_schedule_sync_cron ( $schedule, $hook )
prevent_publicize_blacklisted_posts ( $should_publicize, $post )
sanitize_filtered_sync_cron_schedule ( $schedule )
send_data ( $data, $codec_name, $sent_timestamp, $queue_id )
set_is_importing_true ( )
sync_allowed ( )
sync_via_cron_allowed ( )

Method Details

add_sender_shutdown() static public méthode

static public add_sender_shutdown ( )

cleanup_on_upgrade() static public méthode

static public cleanup_on_upgrade ( )

do_cron_full_sync() static public méthode

static public do_cron_full_sync ( )

do_cron_sync() static public méthode

or we hit a lock or some other sending issue
static public do_cron_sync ( )

do_full_sync() static public méthode

static public do_full_sync ( $modules = null )

do_initial_sync() static public méthode

static public do_initial_sync ( $new_version = null, $old_version = null )

init() static public méthode

5 * MINUTE_IN_SECONDS;
static public init ( )

init_sync_cron_jobs() static public méthode

static public init_sync_cron_jobs ( )

initialize_listener() static public méthode

static public initialize_listener ( )

initialize_sender() static public méthode

static public initialize_sender ( )

jetpack_cron_schedule() static public méthode

static public jetpack_cron_schedule ( $schedules )

maybe_schedule_sync_cron() static public méthode

static public maybe_schedule_sync_cron ( $schedule, $hook )

prevent_publicize_blacklisted_posts() static public méthode

static public prevent_publicize_blacklisted_posts ( $should_publicize, $post )

sanitize_filtered_sync_cron_schedule() static public méthode

static public sanitize_filtered_sync_cron_schedule ( $schedule )

send_data() static public méthode

static public send_data ( $data, $codec_name, $sent_timestamp, $queue_id )

set_is_importing_true() static public méthode

static public set_is_importing_true ( )

sync_allowed() static public méthode

static public sync_allowed ( )

sync_via_cron_allowed() static public méthode

static public sync_via_cron_allowed ( )

Property Details

$listener static_oe public_oe property

static public $listener

$sender static_oe public_oe property

static public $sender