WordPress at a glance
filter is not described

date_formats filter-hook . WP 2.7.0

Filters the default date formats.

Usage

add_filter( 'date_formats', 'filter_function_name_3609' );
function filter_function_name_3609( $default_date_formats ){
	// filter...

	return $default_date_formats;
}
$default_date_formats(string[])
Array of default date formats.

Changelog

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

Where the hook is called

In file: /wp-admin/options-general.php
date_formats
wp-admin/options-general.php 321
$date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y' ), 'Y-m-d', 'm/d/Y', 'd/m/Y' ) ) );

Where the hook is used (in WP core)

Usage not found!