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.


Top ↑

Source

File: wp-includes/taxonomy.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.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