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

Filters the default date formats.

Parameters Parameters


(string[]) Array of default date formats.

Top ↑

Source Source

File: wp-admin/options-general.php

View on Trac

Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.