list_table_primary_column

list_table_primary_column

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('list_table_primary_column') is found 1 times:

  • /wp-admin/includes/class-wp-list-table.php line 1287
    		 *
    		 * @param string $default Column name default for the specific list table, e.g. 'name'.
    		 * @param string $context Screen ID for specific list table, e.g. 'plugins'.
    		 */
    		$column = apply_filters( 'list_table_primary_column', $default, $this->screen->id );
    
    		if ( empty( $column ) || ! isset( $columns[ $column ] ) ) {
    			$column = $default;
    		}
    
    		return $column;
    

See this hook used in plugins: