apply_filters( 'posts_search_orderby', string $search_orderby, WP_Query $query )

Filters the ORDER BY used when ordering search results.


Parameters Parameters

$search_orderby

(string) The ORDER BY clause.

$query

(WP_Query) The current WP_Query instance.


Top ↑

Source Source

File: wp-includes/class-wp-query.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.