On this page
WP_Rewrite::get_day_permastruct(): string|false
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. View all references
public function get_day_permastruct() {
return $this->get_date_permastruct();
}
Related
Uses
| Uses | Description |
|---|---|
| WP_Rewrite::get_date_permastruct() wp-includes/class-wp-rewrite.php | Retrieves date permalink structure, with year, month, and day. |
Used By
| Used By | Description |
|---|---|
| get_day_link() wp-includes/link-template.php | Retrieves the permalink for the day archives with year and month. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rewrite/get_day_permastruct