[wp-hackers] Order by +/- ?
stewart at ugelow.com
Thu Feb 2 19:10:58 GMT 2006
> > > Are there currently any method/arguments in place to flip the
> > > chronological (or other) order of items etc returned? i.e. something
> > > that wraps ...ORDER BY ASC/DESC
> > On line 651 of classes.php:
> > $orderby = apply_filters('posts_orderby', $orderby);
> > You can use that filter to modify the query.
> That, or pass `order=ASC`/`order=DESC`...
Although passing the order is problematic if you're not using the
More information about the wp-hackers