WP_Rewrite::get_search_permastruct

SummerySummery

Retrieves the search permalink structure.

Syntax

WP_Rewrite::get_search_permastruct()

DescriptionDescription

The permalink structure is root property, search base, and finally ‘/%search%’. Will set the search_structure property and then return it without attempting to set the value again.

ReturnReturn

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