do_action( 'hivepress/v1/models/term/{action_type}', $term_id, $taxonomy )
Fires when a taxonomy term is created, updated or deleted. The dynamic part of the hook refers to the action type (create
, update
or delete
).
Parameters:
Name | Type | Description |
---|---|---|
$term_id |
int | Term ID. |
$taxonomy |
string | Taxonomy name. |
- Source: