jetpack_sync_before_send_queue_<id>
The WordPress Core jetpack sync before send queue id hook.
Description
do_action( 'jetpack_sync_before_send_queue_<id>' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'jetpack_sync_before_send_queue_{$id}' );
- The following example is for adding a hook callback.
- // define the jetpack_sync_before_send_queue_<id> callback
- function action_jetpack_sync_before_send_queue_id( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( "jetpack_sync_before_send_queue_{$id}", 'action_jetpack_sync_before_send_queue_id', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( "jetpack_sync_before_send_queue_{$id}", 'action_jetpack_sync_before_send_queue_id', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /sync/class.jetpack-sync-sender.php
- do_action( 'jetpack_sync_before_send_queue_' . $queue->id );