Filters the term parent.
Hook to this filter to see if it will cause a hierarchy loop.
$parent_termint
$term_idint
$taxonomystring
$parsed_argsarray
$argsarray
alias_of stringdescription stringparent intslug string$parent = (int) apply_filters( 'wp_update_term_parent', $args['parent'], $term_id, $taxonomy, $parsed_args, $args );
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_update_term_parent