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
$check
mixedrequired- The
$check
param passed from the'get_term_metadata'
hook.
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. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.