WP_Rewrite::get_day_permastruct()
Retrieves the day permalink structure with month and year.
Keeps date permalink structure with all year, month, and day.
Метод класса: WP_Rewrite{}
Хуков нет.
Возвращает
Строку|false
. Year/Month/Day permalink structure on success, false on failure.
Использование
global $wp_rewrite; $wp_rewrite->get_day_permastruct();
Список изменений
С версии 1.5.0 | Введена. |
Код WP_Rewrite::get_day_permastruct() WP Rewrite::get day permastruct WP 6.7.1
public function get_day_permastruct() { return $this->get_date_permastruct(); }