remove_rewrite_tag( string   $tag )

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

Parameters

$tag string required
Name of the rewrite tag.

Source

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

Changuelog

Versionen Description
4.5.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.