get_{$adjacent}_post_join
最后更新于:2021-11-27 00:15:15
apply_filters( “get_{$adjacent}_post_join”, string $join, bool $in_same_term, array $excluded_terms, string $taxonomy, GC_Post $post )
Filters the JOIN clause in the SQL for an adjacent post query.
参数
- $join
-
(string)
The JOIN clause in the SQL. - $in_same_term
-
(bool)
Whether post should be in a same taxonomy term. - $excluded_terms
-
(array)
Array of excluded term IDs. - $taxonomy
-
(string)
Taxonomy. Used to identify the term used when$in_same_term
is true. - $post
源文件
文件: gc-includes/link-template.php