WordPress at Your Fingertips
filter is not described

redirect_term_location filter-hook . WP 4.6.0

Filters the taxonomy redirect destination URL.


add_filter( 'redirect_term_location', 'filter_function_name_5303', 10, 2 );
function filter_function_name_5303( $location, $tax ){
	// filter...

	return $location;
The destination URL.
The taxonomy object.


Since 4.6.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-tags.php
wp-admin/edit-tags.php 228
wp_redirect( apply_filters( 'redirect_term_location', $location, $tax ) );

Where in WP core the hook is used WordPress

Usage not found.