post_rewrite_rules
最后更新于:2021-11-27 17:14:24
apply_filters( ‘post_rewrite_rules’, string[] $post_rewrite )
Filters rewrite rules used for “post” archives.
参数
- $post_rewrite
-
(string[])
Array of rewrite rules for posts, keyed by their regex pattern.
源文件
文件: gc-includes/class-gc-rewrite.php
View on Trac