remove_rewrite_tag( string $tag )

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


Parameters Parameters

$tag

(string) (Required) Name of the rewrite tag.


Top ↑

Source Source

File: wp-includes/rewrite.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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