过滤订购搜索结果时使用的ORDER BY。
原型
apply_filters( 'posts_search_orderby', string $search_orderby, WP_Query $this )
参数
$search_orderby
(string)
ORDER BY子句。
$this
(WP_Query)
当前的WP_Query实例。
源文件
路径:wp-includes/class-wp-query.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/posts_search_orderby/