wpseek.com
WordPress开发者和主题制作者的搜索引擎



author_rewrite_rules › WordPress过滤钩子

Since1.5.0
已弃用n/a
› apply_filters( 'author_rewrite_rules', $author_rewrite )
参数:
  • () author_rewrite Array of rewrite rules for author archives, keyed by their regex pattern.
    Required: Yes
定义在:
文档:

Filters rewrite rules used for author archives.

Likely author archives would include `/author/author-name/`, as well as pagination and feed paths for author archives.




源码

$author_rewrite = apply_filters( 'author_rewrite_rules', $author_rewrite );