get_terms_args
apply_filters( ‘get_terms_args’, array $args , string[] $taxonomies )
过滤器::过滤术语查询参数。
Filter Hook: Filters the terms query arguments.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$args | (array) | get_terms()参数的数组。 |
$taxonomies | (string[]) | 分类法名称的数组。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.1.0 | wp-includes/class-wp-term-query.php:360 | 1 | 0 |
笔记(Notes)
重新排序类别列表的步骤函数.php
get_terms_args 为WP2原创文章,链接:https://www.wp2.cn/hook/get_terms_args/