Title: saved_term
Published: August 11, 2020
Last modified: February 24, 2026

---

# do_action( ‘saved_term’, int $term_id, int $tt_id, string $taxonomy, bool $update, array $args )

## In this article

 * [Description](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#wp--skip-link--target)

Fires after a term has been saved, and the term cache has been cleared.

## 󠀁[Description](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#description)󠁿

The [‘saved_$taxonomy’](https://developer.wordpress.org/reference/hooks/saved_taxonomy/)
hook is also available for targeting a specific taxonomy.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#parameters)󠁿

 `$term_id`int

Term ID.

`$tt_id`int

Term taxonomy ID.

`$taxonomy`string

Taxonomy slug.

`$update`bool

Whether this is an existing term being updated.

`$args`array

Arguments passed to [wp_insert_term()](https://developer.wordpress.org/reference/functions/wp_insert_term/).

More Arguments from wp_insert_term( … $args )

Array or query string of arguments for inserting a term.

 * `alias_of` string
 * Slug of the term to make this term an alias of.
    Accepts a term slug.
 * `description` string
 * The term description.
 * `parent` int
 * The id of the parent term. Default 0.
 * `slug` string
 * The term slug to use.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#source)󠁿

    ```php
    do_action( 'saved_term', $term_id, $tt_id, $taxonomy, false, $args );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/taxonomy.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/taxonomy.php#L2764)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/taxonomy.php#L2764-L2764)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_update_term()](https://developer.wordpress.org/reference/functions/wp_update_term/)`wp-includes/taxonomy.php` |

Updates term based on arguments provided.

  | 
| [wp_insert_term()](https://developer.wordpress.org/reference/functions/wp_insert_term/)`wp-includes/taxonomy.php` |

Adds a new term to the database.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/saved_term/?output_format=md#changelog)󠁿

| Version | Description | 
| [6.1.0](https://developer.wordpress.org/reference/since/6.1.0/) | The `$args` parameter was added. | 
| [5.5.0](https://developer.wordpress.org/reference/since/5.5.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fsaved_term%2F)
before being able to contribute a note or feedback.