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.2

apply_filters('list_table_primary_column') is found 1 times:

  • /wp-admin/includes/class-wp-list-table.php line 1287
    1283
    1284
    1285
    1286
    1287
    1288
    1289
    1290
    1291
    1292
    1293
    *
     * @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: