HTTP/2 301
server: nginx
date: Mon, 29 Dec 2025 23:10:25 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
vary: accept, content-type
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/hooks/wp_insert_term_data/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
HTTP/2 200
server: nginx
date: Mon, 29 Dec 2025 23:10:26 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
wp_insert_term_data – Hook | Developer.WordPress.org
apply_filters( ‘wp_insert_term_data’, array $data, string $taxonomy, array $args )
Filters term data before it is inserted into the database.
$dataarrayTerm data to be inserted.
$taxonomystringTaxonomy slug.
$argsarrayArguments passed to wp_insert_term() .More Arguments from wp_insert_term( … $args )
Array or query string of arguments for inserting a term.
alias_of stringSlug of the term to make this term an alias of.
Default empty string. Accepts a term slug.
description stringThe term description. Default empty string.
parent intThe id of the parent term. Default 0.
slug stringThe term slug to use. Default empty string.
| Version | Description |
|---|
| 4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.