AnsPress_Post_Table_Hooks::admin_column_sort_flag( array $columns )

Description #

Flag sorting.

Parameters #

  • $columns
    array (Required) Sorting columns.

Source #

File: admin/class-list-table-hooks.php

	public static function admin_column_sort_flag( $columns ) {
		$columns['flags']   = 'flags';
		$columns['answers'] = 'answers';
		$columns['votes']   = 'votes';

		return $columns;
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment