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



remove_rewrite_tag ›

Since4.5.0
已弃用n/a
remove_rewrite_tag ( $tag )
参数:
  • (string) $tag Name of the rewrite tag.
    Required: Yes
定义在:
文档:

Removes an existing rewrite tag (like %postname%).



源码

function remove_rewrite_tag( $tag ) {
	global $wp_rewrite;
	$wp_rewrite->remove_rewrite_tag( $tag );
}