clean_taxonomy_cache WordPress Action Hook
The clean_taxonomy_cache hook is called whenever a term is updated, deleted, or created. This hook gives plugins an opportunity to update their own caches or take other actions when a term is updated.
do_action( 'clean_taxonomy_cache', string $taxonomy ) #
Fires after a taxonomy’s caches have been cleaned.
Parameters
- $taxonomy
(string)Taxonomy slug.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |