WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
96 | /** |
97 | * Fires after objects are added to the metadata lazy-load queue. |
98 | * |
99 | * @since 4.5.0 |
100 | * |
101 | * @param array $object_ids Array of object IDs. |
102 | * @param string $object_type Type of object being queued. |
103 | * @param WP_Metadata_Lazyloader $lazyloader The lazy-loader object. |
104 | */ |
105 | do_action( 'metadata_lazyloader_queued_objects', $object_ids, $object_type, $this ); |
106 | } |
107 |
|
108 | /** |
109 | * Resets lazy-load queue for a given object type. |
110 | * |
111 | * @since 4.5.0 |
112 | * |
113 | * @param string $object_type Object type. Accepts 'comment' or 'term'. |
114 | * @return void|WP_Error WP_Error on failure. |