ActionScheduler_Abstract_ListTable::get_sortable_columns()publicWC 1.0

Reads $this->sort_by and returns the columns name in a format that WP_Table_List expects

Method of the class: ActionScheduler_Abstract_ListTable{}

No Hooks.

Return

null. Nothing (null).

Usage

$ActionScheduler_Abstract_ListTable = new ActionScheduler_Abstract_ListTable();
$ActionScheduler_Abstract_ListTable->get_sortable_columns();

ActionScheduler_Abstract_ListTable::get_sortable_columns() code WC 8.7.0

public function get_sortable_columns() {
	$sort_by = array();
	foreach ( $this->sort_by as $column ) {
		$sort_by[ $column ] = array( $column, true );
	}
	return $sort_by;
}