WP_Rewrite::get_category_permastruct()

Retrieves the permalink structure for categories.


Description Description

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


Return Return

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


Top ↑

Source Source

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

	public function get_category_permastruct() {
		return $this->get_extra_permastruct( 'category' );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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