WP_Rewrite::get_tag_permastruct

SummerySummery

Retrieve the permalink structure for tags.

Syntax

WP_Rewrite::get_tag_permastruct()

DescriptionDescription

If the tag_base property has no value, then the tag structure will have the front property value, followed by ‘tag’, and finally ‘%tag%’. If it does, then the root property will be used, along with the tag_base property value.

ReturnReturn

(string|false) Tag permalink structure on success, false on failure.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top