WordPress Version: 6.3
/**
* Queue term meta for lazy-loading.
*
* @since 6.3.0
*
* @param array $term_ids List of term IDs.
*/
function wp_lazyload_term_meta(array $term_ids)
{
if (empty($term_ids)) {
return;
}
$lazyloader = wp_metadata_lazyloader();
$lazyloader->queue_objects('term', $term_ids);
}