WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_update_term_parent

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php apply_filters 3224 /**
* Filters the term parent.
*
* Hook to this filter to see if it will cause a hierarchy loop.
*
* @since 3.1.0
*
* @param int $parent ID of the parent term.
* @param int $term_id Term ID.
* @param string $taxonomy Taxonomy slug.
* @param array $parsed_args An array of potentially altered update arguments for the given term.
* @param array $args Arguments passed to wp_update_term().
*/

Hook Parameters

Parameter Type Name Description
int $parent ID of the parent term.
int $term_id Term ID.
string $taxonomy Taxonomy slug.
array $parsed_args An array of potentially altered update arguments for the given term.
array $args Arguments passed to wp_update_term().