apply_filters( "update_{$meta_type}_metadata_cache", mixed $check, int[] $object_ids )

Filters whether to update the metadata cache of a specific type.


Description Description

The dynamic portion of the hook, $meta_type, refers to the meta object type (comment, post, term, or user). Returning a non-null value will effectively short-circuit the function.


Top ↑

Parameters Parameters

$check

(mixed) Whether to allow updating the meta cache of the given type.

$object_ids

(int[]) Array of object IDs to update the meta cache for.



Top ↑

Source Source

File: wp-includes/meta.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.