jetpack_sync_multi_request_fail
Fires when the server receives two concurrent requests from the same blog.
Description
Parameters (1)
- 0. $token (token)
- The token object of the misbehaving site
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'jetpack_sync_multi_request_fail', $token );
- The following example is for adding a hook callback.
- // define the jetpack_sync_multi_request_fail callback
- function action_jetpack_sync_multi_request_fail( $token ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'jetpack_sync_multi_request_fail', 'action_jetpack_sync_multi_request_fail', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'jetpack_sync_multi_request_fail', 'action_jetpack_sync_multi_request_fail', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /sync/class.jetpack-sync-server.php
- do_action( 'jetpack_sync_multi_request_fail', $token );