wpseek.com
A WordPress-centric search engine for devs and theme authors



remove_rewrite_tag › WordPress Function

Since4.5.0
Deprecatedn/a
remove_rewrite_tag ( $tag )
Parameters:
  • (string) $tag Name of the rewrite tag.
    Required: Yes
Defined at:
Codex:

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



Source

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