Filters the ORDER BY used when ordering search results.
$search_orderby = apply_filters( 'posts_search_orderby', $search_orderby, $this );
| Version | Description |
|---|---|
| 3.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/posts_search_orderby