WordPress at a glance
filter is not described

wp_update_term_parent filter-hook . WP 3.1.0

Filters the term parent.

Hook to this filter to see if it will cause a hierarchy loop.

Usage

add_filter( 'wp_update_term_parent', 'filter_function_name_6328', 10, 5 );
function filter_function_name_6328( $parent, $term_id, $taxonomy, $parsed_args, $args ){
	// filter...

	return $parent;
}
$parent(int)
ID of the parent term.
$term_id(int)
Term ID.
$taxonomy(string)
Taxonomy slug.
$parsed_args(array)
An array of potentially altered update arguments for the given term.
$args(array)
An array of update arguments for the given term.

Where the hook is called

wp_update_term()
wp_update_term_parent
wp-includes/taxonomy.php 2698
$parent = apply_filters( 'wp_update_term_parent', $args['parent'], $term_id, $taxonomy, $parsed_args, $args );

Where the hook is used (in WP core)

wp-includes/default-filters.php 152
add_filter( 'wp_update_term_parent', 'wp_check_term_hierarchy_for_loops', 10, 3 );