post_column_taxonomy_links filter-hookWP 5.2.0

Filters the links in $taxonomy column of edit.php.

Usage

add_filter( 'post_column_taxonomy_links', 'wp_kama_post_column_taxonomy_links_filter', 10, 3 );

/**
 * Function for `post_column_taxonomy_links` filter-hook.
 * 
 * @param string[]  $term_links Array of term editing links.
 * @param string    $taxonomy   Taxonomy name.
 * @param WP_Term[] $terms      Array of term objects appearing in the post row.
 *
 * @return string[]
 */
function wp_kama_post_column_taxonomy_links_filter( $term_links, $taxonomy, $terms ){

	// filter...
	return $term_links;
}
$term_links(string[])
Array of term editing links.
$taxonomy(string)
Taxonomy name.
$terms(WP_Term[])
Array of term objects appearing in the post row.

Changelog

Since 5.2.0 Introduced.

Where the hook is called

WP_Posts_List_Table::column_default()
post_column_taxonomy_links
wp-admin/includes/class-wp-posts-list-table.php 1295
$term_links = apply_filters( 'post_column_taxonomy_links', $term_links, $taxonomy, $terms );

Where the hook is used in WordPress

Usage not found.