wpseek.com
A WordPress-centric search engine for devs and theme authors



redirect_term_location › WordPress Filter Hooks

Since4.6.0
Deprecatedn/a
apply_filters( 'redirect_term_location', $location, $tax )
Parameters: (2)
  • (string) $location The destination URL.
    Required: Yes
  • (WP_Taxonomy) $tax The taxonomy object.
    Required: Yes
Defined at:
Codex:

Filters the taxonomy redirect destination URL.





Source

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