W3cubDocs

/WordPress

WP_Metadata_Lazyloader::lazyload_term_meta( mixed $check ): mixed

Lazy-loads term meta for queued terms.

Description

This method is public so that it can be used as a filter callback. As a rule, there is no need to invoke it directly.

Parameters

$checkmixedrequired
The $check param passed from the 'get_term_metadata' hook.

Return

mixed In order not to short-circuit get_metadata(). Generally, this is null, but it could be another value if filtered by a plugin.

Source

public function lazyload_term_meta( $check ) {
	_deprecated_function( __METHOD__, '6.3.0', 'WP_Metadata_Lazyloader::lazyload_meta_callback' );
	return $this->lazyload_meta_callback( $check, 0, '', false, 'term' );
}

Changelog

Version Description
6.3.0 Use WP_Metadata_Lazyloader::lazyload_meta_callback() instead.
4.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_metadata_lazyloader/lazyload_term_meta