WP_Rewrite::get_month_permastruct

SummerySummery

Retrieves the month permalink structure without day and with year.

Syntax

WP_Rewrite::get_month_permastruct()

DescriptionDescription

Gets the date permalink structure and strips out the day permalink structures. Keeps the year permalink structure.

ReturnReturn

(string|false) Year/Month 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