Returns the fields that are valid to be used in orderby clauses.
Description
See also
Return
(array) Array of valid orderby fields.
Source
File: src/db-objects/forms/form-query.php
public function get_valid_orderby_fields() { $orderby_fields = parent::get_valid_orderby_fields(); return array_merge( $orderby_fields, array( 'timestamp', 'timestamp_modified' ) ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |