WP_Posts_List_Table::get_table_classes(): array


Return

array


Top ↑

Source

File: wp-admin/includes/class-wp-posts-list-table.php. View all references

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',
	);
}


Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.