WP_Posts_List_Table::get_table_classes(): array

In this article

Return

array

Source

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

User Contributed Notes

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