apply_filters( ‘redirect_term_location’, string $location, WP_Taxonomy $tax )

In this article

Filters the taxonomy redirect destination URL.

Parameters

$locationstring
The destination URL.
$taxWP_Taxonomy
The taxonomy object.

Source

wp_redirect( apply_filters( 'redirect_term_location', $location, $tax ) );

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.