remove_rewrite_tag

Advertisement

Summery Summery

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

Syntax Syntax

remove_rewrite_tag( string $tag )

Parameters Parameters

$tag

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

Source Source

File: wp-includes/rewrite.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.