apply_filters( 'pre_term_link', string $termlink, WP_Term $term )

Filters the permalink structure for a terms before token replacement occurs.


Parameters

$termlink

(string) The permalink structure for the term's taxonomy.

$term

(WP_Term) The term object.


Source

File: wp-includes/taxonomy.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.0 Introduced.