函数原型
remove_rewrite_tag( string $tag )
函数描述
Removes an existing rewrite tag (like %postname%).
是否弃用
未弃用
函数参数
-
$tag
string
Required - Name of the rewrite tag.
函数返回值
无
函数位置
File: wp-includes/rewrite.php.
函数源码
function remove_rewrite_tag( $tag ) {
global $wp_rewrite;
$wp_rewrite->remove_rewrite_tag( $tag );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |

