A WordPress-centric search engine for devs and theme authors



redirect_term_location ›

Since4.6.0
Deprecatedn/a
apply_filters( 'redirect_term_location', $location, $tax )
Parameters: (2)
  • (string) $location The destination URL.
    Required: Yes
  • (object) $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 ) );