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



rewrite_rules ›

Since1.5.0
已弃用
apply_filters( 'rewrite_rules', $rules )
参数:
  • (string) $rules mod_rewrite Rewrite rules formatted for .htaccess.
    Required: Yes
定义在:
文档:

Filters the list of rewrite rules formatted for output to an .htaccess file.





源码

return apply_filters( 'rewrite_rules', $rules );