LLMS_Admin_Table::get_new_order( $orderby = '' )
Gets the opposite of the current order Used to determine what order should be displayed when resorting
Description Description
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
protected function get_new_order( $orderby = '' ) { // current order matches submitted order, return opposite if ( $this->orderby === $orderby ) { return ( 'ASC' === $this->order ) ? 'DESC' : 'ASC'; } // End if(). else { return 'ASC'; } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: