wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_lazyload_term_meta › WordPress Function

Since6.3.0
Deprecatedn/a
wp_lazyload_term_meta ( $term_ids )
Parameters:
  • (array) $term_ids List of term IDs.
    Required: Yes
Defined at:
Codex:

Queue term meta for lazy-loading.



Source

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