date_formats

Advertisement

Summery Summery

Filters the default date formats.

Syntax Syntax

apply_filters( 'date_formats', string[] $default_date_formats )

Parameters Parameters

$default_date_formats

Array of default date formats.

Source Source

File: wp-admin/options-general.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Added ISO date standard YYYY-MM-DD format.
2.7.0 Introduced.

Advertisement

Leave a Reply