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

(string[]) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.