apply_filters( ‘pre_term_link’, string $termlink, WP_Term $term )

In this article

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

Parameters

$termlinkstring
The permalink structure for the term’s taxonomy.
$termWP_Term
The term object.

Source

$termlink = apply_filters( 'pre_term_link', $termlink, $term );

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

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