PHP Class Jetpack_Sync_Actions, jetpack

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

Public Properties

Property Type Description
$listener
$sender

Public Methods

Method 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 method

static public add_sender_shutdown ( )

cleanup_on_upgrade() static public method

static public cleanup_on_upgrade ( )

do_cron_full_sync() static public method

static public do_cron_full_sync ( )

do_cron_sync() static public method

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

do_full_sync() static public method

static public do_full_sync ( $modules = null )

do_initial_sync() static public method

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

init() static public method

5 * MINUTE_IN_SECONDS;
static public init ( )

init_sync_cron_jobs() static public method

static public init_sync_cron_jobs ( )

initialize_listener() static public method

static public initialize_listener ( )

initialize_sender() static public method

static public initialize_sender ( )

jetpack_cron_schedule() static public method

static public jetpack_cron_schedule ( $schedules )

maybe_schedule_sync_cron() static public method

static public maybe_schedule_sync_cron ( $schedule, $hook )

prevent_publicize_blacklisted_posts() static public method

static public prevent_publicize_blacklisted_posts ( $should_publicize, $post )

sanitize_filtered_sync_cron_schedule() static public method

static public sanitize_filtered_sync_cron_schedule ( $schedule )

send_data() static public method

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

set_is_importing_true() static public method

static public set_is_importing_true ( )

sync_allowed() static public method

static public sync_allowed ( )

sync_via_cron_allowed() static public method

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