WP_Rewrite::get_day_permastruct() WordPress Method

The WP_Rewrite::get_day_permastruct() method is used to retrieve the permalink structure for day archive pages. This is a static method, and it does not require an instantiated WP_Rewrite object.

WP_Rewrite::get_day_permastruct() #

Retrieves the day permalink structure with month and year.


Description

Keeps date permalink structure with all year, month, and day.


Top ↑

Return

(string|false) Year/Month/Day permalink structure on success, false on failure.


Top ↑

Source

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

	public function get_day_permastruct() {
		return $this->get_date_permastruct();
	}


Top ↑

Changelog

Changelog
VersionDescription
1.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.