post_column_taxonomy_links
Filter HookDescription
Filters the links in `$taxonomy` column of edit.php.Hook Information
| File Location | wp-admin/includes/class-wp-posts-list-table.phpView on GitHub | 
| Hook Type | Filter | 
| Line Number | 1356 | 
Hook Parameters
| Type | Name | Description | 
|---|---|---|
| string[] | $term_links | Array of term editing links. | 
| string | $taxonomy | Taxonomy name. | 
| WP_Term[] | $terms | Array of term objects appearing in the post row. | 
Usage Examples
                        Basic Usage
                    
                    <?php
// Hook into post_column_taxonomy_links
add_filter('post_column_taxonomy_links', 'my_custom_filter', 10, 3);
function my_custom_filter($term_links, $taxonomy, $terms) {
    // Your custom filtering logic here
    return $term_links;
}
Source Code Context
                        wp-admin/includes/class-wp-posts-list-table.php:1356
                        - How this hook is used in WordPress core
                    
                    <?php
1351  				 *
1352  				 * @param string[]  $term_links Array of term editing links.
1353  				 * @param string    $taxonomy   Taxonomy name.
1354  				 * @param WP_Term[] $terms      Array of term objects appearing in the post row.
1355  				 */
1356  				$term_links = apply_filters( 'post_column_taxonomy_links', $term_links, $taxonomy, $terms );
1357  
1358  				echo implode( wp_get_list_item_separator(), $term_links );
1359  			} else {
1360  				echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . $taxonomy_object->labels->no_terms . '</span>';
1361  			}
PHP Documentation
<?php
/**
				 * Filters the links in `$taxonomy` column of edit.php.
				 *
				 * @since 5.2.0
				 *
				 * @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.
				 */
                        Quick Info
                    
                    - Hook Type: Filter
- Parameters: 3
- File: wp-admin/includes/class-wp-posts-list-table.php
                        Related Hooks
                    
                    Related hooks will be displayed here in future updates.
