wp_lazyload_term_meta

The timeline below displays how wordpress function wp_lazyload_term_meta has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

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);
}