wpseek.com
WordPress开发者和主题制作者的搜索引擎
add_rewrite_rule › WordPress Function
Since2.1.0
已弃用n/a
› add_rewrite_rule ( $regex, $query, $after = 'bottom' )
参数: (3) |
|
定义在: |
|
文档: | |
Change Log: |
|
Adds a rewrite rule that transforms a URL structure to a set of query vars.
Any value in the $after parameter that isn't 'bottom' will result in the rule being placed at the top of the rewrite rules.Related Functions: iis7_add_rewrite_rule, save_mod_rewrite_rules, add_rewrite_tag, flush_rewrite_rules, add_rewrite_endpoint