In this article

action

jetpack_sync_remote_action

Fires when an action is received from a remote Jetpack site

Parameters

$action_name
string

The name of the action executed on the remote site

$args
array

The arguments passed to the action

$user_id
int

The external_user_id who did the action

$silent
bool

Whether the item was created via import

$timestamp
double

Timestamp (in seconds) when the action occurred

$sent_timestamp
double

Timestamp (in seconds) when the action was transmitted

$queue_id
string

ID of the queue from which the event was sent (sync or full_sync)

$token
array

The auth token used to invoke the API

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.