get_{$adjacent}_post_sort
最后更新于:2021-11-27 00:15:51
apply_filters( “get_{$adjacent}_post_sort”, string $order_by, GC_Post $post, string $order )
Filters the ORDER BY clause in the SQL for an adjacent post query.
参数
- $order_by
-
(string)
TheORDER BY
clause in the SQL. - $post
- $order
-
(string)
Sort order. ‘DESC’ for previous post, ‘ASC’ for next.
源文件
文件: gc-includes/link-template.php