Add rewrite_rules_array filter point.
git-svn-id: https://develop.svn.wordpress.org/trunk@1466 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
084fa8edb8
commit
999d760f6c
@ -1338,6 +1338,7 @@ function rewrite_rules($matches = '', $permalink_structure = '') {
|
||||
|
||||
$rewrite = $rewrite + $post_rewrite;
|
||||
|
||||
$rewrite = apply_filters('rewrite_rules_array', $rewrite);
|
||||
return $rewrite;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user