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)
Return
(mixed)
Source
File: wp-includes/class-wp-query.php
public function lazyload_term_meta( $check, $term_id ) { _deprecated_function( __METHOD__, '4.5.0' ); return $check; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.5.0 | See wp_queue_posts_for_term_meta_lazyload(). |
4.4.0 | Introduced. |