W3cubDocs

/WordPress

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.

Return

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

Source

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

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

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rewrite/get_day_permastruct