Warning: This method has been deprecated. See wp_queue_posts_for_term_meta_lazyload() instead.

WP_Query::lazyload_term_meta() WordPress Method

The lazyload_term_meta() method can be used to retrieve Term Meta data for a given Term ID. This is a useful method for performance optimization, as it can help to avoid loading unnecessary data when querying for multiple Term IDs.

WP_Query::lazyload_term_meta( mixed $check, int $term_id ) #

Lazyload term meta for posts in the loop.


Parameters

$check

(mixed)(Required)

$term_id

(int)(Required)


Top ↑

Return

(mixed)


Top ↑

Source

File: wp-includes/class-wp-query.php

	public function lazyload_term_meta( $check, $term_id ) {
		_deprecated_function( __METHOD__, '4.5.0' );
		return $check;
	}


Top ↑

Changelog

Changelog
VersionDescription
4.5.0See wp_queue_posts_for_term_meta_lazyload().
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More