| 180 | | return $columns; |
| | 182 | /** |
| | 183 | * Filter the columns displayed in the Terms list table. |
| | 184 | * |
| | 185 | * @since 4.3.1 |
| | 186 | * |
| | 187 | * @param array $columns An array of column names. |
| | 188 | */ |
| | 189 | $columns = apply_filters( "manage_{$taxonomy}_columns", $columns ); |
| | 190 | |
| | 191 | /** |
| | 192 | * Filter the columns displayed in the Terms list table for a specific term id. |
| | 193 | * |
| | 194 | * The dynamic portion of the hook name, `$taxonomy`, refers to the term id slug. |
| | 195 | * |
| | 196 | * @since 4.3.1 |
| | 197 | * |
| | 198 | * @param array $columns An array of column names. |
| | 199 | */ |
| | 200 | return apply_filters( "manage_{$taxonomy}_posts_columns", $columns ); |
| 521 | | return apply_filters( "manage_{$this->screen->taxonomy}_custom_column", '', $column_name, $tag->term_id ); |
| | 543 | $column = apply_filters( "manage_{$taxonomy}_custom_column", $string = '', $column_name, $tag->term_id ); |
| | 544 | |
| | 545 | /** |
| | 546 | * If the filter isn't used, return action as per default. |
| | 547 | * Else, return the filter output. |
| | 548 | * |
| | 549 | * Fires for each custom column of a specific term id in the Term list table. |
| | 550 | * |
| | 551 | * @param string $column_name The name of the column to display. |
| | 552 | * @param int $term_id Term ID. |
| | 553 | * |
| | 554 | * @since 4.3.1 |
| | 555 | */ |
| | 556 | if ( empty( $column ) ) { |
| | 557 | do_action( "manage_{$taxonomy}_custom_column", $column_name, $tag->term_id ); |
| | 558 | } else { |
| | 559 | return $column; |
| | 560 | } |