unregistered_taxonomy WordPress Action Hook
The unregistered_taxonomy hook is called when a taxonomy is unregistered. This hook can be used to take action when a taxonomy is unregistered. For example, you could use this hook to remove data associated with the taxonomy from your database.
do_action( 'unregistered_taxonomy', string $taxonomy ) #
Fires after a taxonomy is unregistered.
Parameters
- $taxonomy
(string)Taxonomy name.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |