Filter hook 'pre_term_link'

in WP Core File wp-includes/taxonomy.php at line 4663

Description

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

Occurrences

Filename Line Number
wp-includes/taxonomy.php 4663

Parameters

Type Name Description
string $termlink The permalink structure for the term's taxonomy.
WP_Term $term The term object.

PHP Doc

/**
	 * Filters the permalink structure for a term before token replacement occurs.
	 *
	 * @since 4.9.0
	 *
	 * @param string  $termlink The permalink structure for the term's taxonomy.
	 * @param WP_Term $term     The term object.
	 */