jetpack_sync_processed_actions, $processed_items

jetpack_sync_processed_actions, $processed_items

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_sync_processed_actions, $processed_items') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/class-sender.php line 695
    				 * @since-jetpack 4.2.0
    				 *
    				 * @param array $processed_actions The actions that we send successfully.
    				 */
    				do_action( 'jetpack_sync_processed_actions', $processed_items );
    				$queue->close( $buffer, $processed_item_ids );
    				// Returning a WP_Error is a sign to the caller that we should wait a while before syncing again.
    				if ( $had_wp_error ) {
    					return new WP_Error( 'wpcom_error', $wp_error->get_error_code() );
    				}
    			}