wphooks.info - term_links-{$taxonomy}

term_links-{$taxonomy}

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/category-template.php:
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
	/**
	 * Filters the term links for a given taxonomy.
	 *
	 * The dynamic portion of the filter name, `$taxonomy`, refers
	 * to the taxonomy slug.
	 *
	 * @since 2.5.0
	 *
	 * @param string[] $links An array of term links.
	 */
	$term_links = apply_filters( "term_links-{$taxonomy}", $links );

	return $before . join( $sep, $term_links ) . $after;
}

/**
 * Retrieve term parents with separator.
 *
 * @since 4.8.0
 *