list_table_primary_column filter-hook . WP 4.3.0
Filters the name of the primary column for the current list table.
Usage
add_filter( 'list_table_primary_column', 'filter_function_name_190', 10, 2 ); function filter_function_name_190( $default, $context ){ // filter... return $default; }
- $default(string)
- Column name default for the specific list table, e.g. 'name'.
- $context(string)
- Screen ID for specific list table, e.g. 'plugins'.
Changelog
Since 4.3.0 | Introduced. |
Where the hook is called
list_table_primary_column
wp-admin/includes/class-wp-list-table.php 1087
$column = apply_filters( 'list_table_primary_column', $default, $this->screen->id );