WP_Metadata_Lazyloader::lazyload_term_meta

SummerySummery

Lazy-loads term meta for queued terms.

Syntax

WP_Metadata_Lazyloader::lazyload_term_meta( mixed $check )

DescriptionDescription

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.

ParametersParameters

$check

(mixed) (Required) The $check param passed from the 'get_term_metadata' hook.

ReturnReturn

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

SourceSource

File: wp-includes/class-wp-metadata-lazyloader.php


			

ChangelogChangelog

Changelog
Version Description
4.5.0 Introduced.
Scroll to Top