jetpack_sync_save_attach_attachment, $attachment_id, $attachment_after

jetpack_sync_save_attach_attachment, $attachment_id, $attachment_after

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_sync_save_attach_attachment, $attachment_id, $attachment_after') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-sync/src/modules/class-attachments.php line 86
    			 *
    			 * @param int      $attachment_id     Attachment ID.
    			 * @param \WP_Post $attachment_after  Attachment post object after the update.
    			 */
    			do_action( 'jetpack_sync_save_attach_attachment', $attachment_id, $attachment_after );
    		} else {
    			/**
    			 * Fires when the client needs to sync an updated attachment
    			 *
    			 * @since 1.6.3
    			 * @since-jetpack 4.9.0