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.
Return
(string|false) Year/Month/Day permalink structure on success, false on failure.
Source
File: wp-includes/class-wp-rewrite.php
public function get_day_permastruct() {
return $this->get_date_permastruct();
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |