wphooks.info - metadata_lazyloader_queued_objects

metadata_lazyloader_queued_objects

The hook occurs in the following file:

wp-includes/class-wp-metadata-lazyloader.php:
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
		/**
		 * Fires after objects are added to the metadata lazy-load queue.
		 *
		 * @since 4.5.0
		 *
		 * @param array                  $object_ids  Object IDs.
		 * @param string                 $object_type Type of object being queued.
		 * @param WP_Metadata_Lazyloader $lazyloader  The lazy-loader object.
		 */
		do_action( 'metadata_lazyloader_queued_objects', $object_ids, $object_type, $this );
	}

	/**
	 * Resets lazy-load queue for a given object type.
	 *
	 * @since 4.5.0
	 * @access public
	 *
	 * @param string $object_type Object type. Accepts 'comment' or 'term'.