WordPress at a glance
function is not described

WP_Rewrite::get_category_permastruct() public WP 1.5.0

Retrieves the permalink structure for categories.

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.

It's a method of the class: WP_Rewrite{}

No Hooks.

Return

String/false. Category permalink structure on success, false on failure.

Usage

$WP_Rewrite = new WP_Rewrite();
$WP_Rewrite->get_category_permastruct();

Changelog

Since 1.5.0 Introduced.

Code of WP_Rewrite::get_category_permastruct() WP 5.5.1

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