wp_lazyload_term_meta( array $term_ids )

In this article

Queue term meta for lazy-loading.

Parameters

$term_idsarrayrequired
List of term IDs.

Source

function wp_lazyload_term_meta( array $term_ids ) {
	if ( empty( $term_ids ) ) {
		return;
	}
	$lazyloader = wp_metadata_lazyloader();
	$lazyloader->queue_objects( 'term', $term_ids );
}

Changelog

VersionDescription
6.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.