WP_Rewrite::get_tag_permastruct(): string|false

In this article

Retrieves the permalink structure for tags.

Description

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.

Return

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

Source

public function get_tag_permastruct() {
	return $this->get_extra_permastruct( 'post_tag' );
}

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

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