WP_Metadata_Lazyloader::reset_queue

SummerySummery

Resets lazy-load queue for a given object type.

Syntax

WP_Metadata_Lazyloader::reset_queue( string $object_type )

ParametersParameters

$object_type

(string) (Required) Object type. Accepts 'comment' or 'term'.

ReturnReturn

(bool|WP_Error) True on success, WP_Error on failure.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.5.0 Introduced.
Scroll to Top