the_weekday_date

SummerySummery

Display the weekday on which the post was written.

Syntax

the_weekday_date( string $before = '', string $after = '' )

DescriptionDescription

Will only output the weekday if the current post’s weekday is different from the previous one output.

ParametersParameters

$before

(string) (Optional) Output before the date.

Default value: ''

$after

(string) (Optional) Output after the date.

Default value: ''

SourceSource

File: wp-includes/general-template.php


			

ChangelogChangelog

Changelog
Version Description
0.71 Introduced.
Scroll to Top