Retrieves the permalink structure for tags.
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.
public function get_tag_permastruct() {
return $this->get_extra_permastruct( 'post_tag' );
}
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rewrite/get_tag_permastruct