WP_Rewrite::get_category_permastruct

SummerySummery

Retrieves the permalink structure for categories.

Syntax

WP_Rewrite::get_category_permastruct()

DescriptionDescription

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.

ReturnReturn

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

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
1.5.0 Introduced.
Scroll to Top