Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
posts_orderby

Description

Applied to the ORDER BY clause of the query that returns the post array.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for posts_orderby

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
1.5.2 wp-includes/classes.php 549 View in context filter
2.0 wp-includes/classes.php 635 View in context filter
2.0.11 wp-includes/classes.php 661 View in context filter
2.1 wp-includes/query.php 975 View in context filter
2.2 wp-includes/query.php 1051 View in context filter
2.3 wp-includes/query.php 1253 View in context filter
2.5 wp-includes/query.php 1400 View in context filter
2.6 wp-includes/query.php 1423 View in context filter
2.7 wp-includes/query.php 2213 View in context filter
2.8 wp-includes/query.php 2222 View in context filter
2.9 wp-includes/query.php 2216 View in context filter
3.0 wp-includes/query.php 2384 View in context filter
3.1 wp-includes/query.php 2520 View in context filter
3.2 wp-includes/query.php 2564 View in context filter
3.3 wp-includes/query.php 2573 View in context filter
3.4 wp-includes/query.php 2569 View in context filter
3.5 wp-includes/query.php 2588 View in context filter
3.6 wp-includes/query.php 2605 View in context filter
3.7 wp-includes/query.php 2844 View in context filter
3.8 wp-includes/query.php 2859 View in context filter
3.9 wp-includes/query.php 3012 View in context filter
4.0 wp-includes/query.php 3192 View in context filter
4.1 wp-includes/query.php 3206 View in context filter
4.2 wp-includes/query.php 3226 View in context filter
4.3 wp-includes/query.php 3232 View in context filter
4.4 wp-includes/query.php 3356 View in context filter
4.5 wp-includes/query.php 3346 View in context filter
4.6 wp-includes/query.php 3363 View in context filter
4.7 wp-includes/class-wp-query.php 2554 View in context filter
4.8 wp-includes/class-wp-query.php 2564 View in context filter
4.9 wp-includes/class-wp-query.php 2539 View in context filter
5.0 wp-includes/class-wp-query.php 2539 View in context filter
5.1 wp-includes/class-wp-query.php 2684 View in context filter

Related Hooks

We find related hooks using word stems. posts_orderby has 2 significant word stem(s): posts, orderby. Note that some of the hooks below may not appear in all versions of WP.