WordPress at a glance
filter is not described

posts_orderby_request filter-hook . WP 2.5.0

Filters the ORDER BY clause of the query.

For use by caching plugins.


add_filter( 'posts_orderby_request', 'filter_function_name_2838', 10, 2 );
function filter_function_name_2838( $orderby, $this ){
	// filter...

	return $orderby;
The ORDER BY clause of the query.
The WP_Query instance (passed by reference).

Where the hook is called

wp-includes/class-wp-query.php 2817
$orderby = apply_filters_ref_array( 'posts_orderby_request', array( $orderby, &$this ) );

Where the hook is used (in WP core)

Использование не найдено.