过滤器挂钩:过滤器重写用于作者存档的规则。
apply_filters( ‘author_rewrite_rules’, string[] $author_rewrite )
说明(Description)
作者档案可能包括/author/author name/,以及作者档案的分页和提要路径。
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$author_rewrite | (string[]) | 作者存档的重写规则数组,由其regex模式键入。 |
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.5.0 | wp-includes/class-wp-rewrite.php:1369 | 1 | 0 |