SimplePie::enable_order_by_date()
Set whether feed items should be sorted into reverse chronological order
Method of the class: SimplePie{}
No Hooks.
Return
null
. Nothing (null).
Usage
$SimplePie = new SimplePie(); $SimplePie->enable_order_by_date( $enable );
- $enable(true|false)
- Sort as reverse chronological order.
Default: true
SimplePie::enable_order_by_date() SimplePie::enable order by date code WP 6.6.2
public function enable_order_by_date($enable = true) { $this->order_by_date = (bool) $enable; }