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)
Source
Changelog
Version | Description |
---|---|
0.71 | Introduced. |