Make WordPress Core


Ignore:
Timestamp:
07/28/2020 04:17:13 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Administration: Pull the table_view_mode filter for now.

The extensibility of list table view modes will be explored in a future release.

Props audrasjb.
See #49715.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r48594 r48668  
    602602    protected function get_table_classes() {
    603603        global $mode;
    604 
    605         /** This filter is documented in wp-admin/includes/class-wp-screen.php */
    606         $mode = apply_filters( 'table_view_mode', $mode );
    607604
    608605        $mode_class = esc_attr( 'table-view-' . $mode );
Note: See TracChangeset for help on using the changeset viewer.