clean_object_term_cache WordPress Action Hook

The clean_object_term_cache hook is called whenever an object's terms are updated. This hook gives you a chance to clean up any cached data that may be outdated because of the updated terms.

do_action( 'clean_object_term_cache', array $object_ids, string $object_type ) #

Fires after the object term cache has been cleaned.


Parameters

$object_ids

(array)An array of object IDs.

$object_type

(string)Object type.


Top ↑

Source

File: wp-includes/taxonomy.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More