WP_Rewrite::set_tag_base

SummerySummery

Sets the tag base for the tag permalink.

Syntax

WP_Rewrite::set_tag_base( string $tag_base )

DescriptionDescription

Will update the ‘tag_base’ option, if there is a difference between the current tag base and the parameter value. Calls WP_Rewrite::init() after the option is updated.

ParametersParameters

$tag_base

(string) (Required) Tag permalink structure base.

SourceSource

File: wp-includes/class-wp-rewrite.php


			

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top