WP_Rewrite::get_year_permastruct

Advertisement

Summery Summery

Retrieves the year permalink structure without month and day.

Syntax Syntax

WP_Rewrite::get_year_permastruct()

Description Description

Gets the date permalink structure and strips out the month and day permalink structures.

Return Return

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

Source Source

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


			

Advertisement

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.