jetpack_sync_before_send_queue_ . $queue->id

jetpack_sync_before_send_queue_ . $queue->id

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_sync_before_send_queue_ . $queue->id') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/class-sender.php line 603
    	 *
    	 * @return boolean|WP_Error True if this sync sending was successful, error object otherwise.
    	 */
    	public function do_sync_for_queue( $queue ) {
    		do_action( 'jetpack_sync_before_send_queue_' . $queue->id );
    		if ( $queue->size() === 0 ) {
    			return new WP_Error( 'empty_queue_' . $queue->id );
    		}
    
    		/**
    		 * Now that we're sure we are about to sync, try to ignore user abort