WP_Posts_List_Table::get_table_classes()
Method of the class: WP_Posts_List_Table{}
No Hooks.
Return
Array
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_table_classes();
Notes
- Global. String. $mode List table view mode.
WP_Posts_List_Table::get_table_classes() WP Posts List Table::get table classes code WP 6.6.2
protected function get_table_classes() { global $mode; $mode_class = esc_attr( 'table-view-' . $mode ); return array( 'widefat', 'fixed', 'striped', $mode_class, is_post_type_hierarchical( $this->screen->post_type ) ? 'pages' : 'posts', ); }