WP_Rewrite::get_tag_permastruct()

Retrieve the permalink structure for tags.


Description 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 Return

(string|false) False on failure. Tag permalink structure.


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.3.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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