WordPress at a glance
function is not described

SimplePie::enable_order_by_date() public WP 1.0

Set whether feed items should be sorted into reverse chronological order

{} It's a method of the class: SimplePie{}

No Hooks.


null. Nothing.


$SimplePie = new SimplePie();
$SimplePie->enable_order_by_date( $enable );
Sort as reverse chronological order.

Code of SimplePie::enable_order_by_date() WP 5.7.2

public function enable_order_by_date($enable = true)
	$this->order_by_date = (bool) $enable;