the_weekday WordPress Filter Hook

The the_weekday WordPress hook is used to display the day of the week on which a post was published. This hook can be used in conjunction with the_date() template tag to display the date on which a post was published.

apply_filters( 'the_weekday', string $the_weekday ) #

Filters the weekday on which the post was written, for display.


Parameters

$the_weekday

(string)


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
0.71Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More