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.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |