get_the_date

Advertisement

Summery Summery

Filters the date a post was published.

Syntax Syntax

apply_filters( 'get_the_date', string $the_date, string $format, int|WP_Post $post )

Parameters Parameters

$the_date

The formatted date.

$format

PHP date format. Defaults to 'date_format' option if not specified.

$post

The post object or ID.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply