WP_Rewrite::get_page_permastruct

SummerySummery

Retrieves the page permalink structure.

Syntax

WP_Rewrite::get_page_permastruct()

DescriptionDescription

The permalink structure is root property, and ‘%pagename%’. Will set the page_structure property and then return it without attempting to set the value again.

ReturnReturn

(string|false) Page 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