wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_ajax_date_format › WordPress Function

Since3.1.0
Deprecatedn/a
wp_ajax_date_format ( No parameters )
Defined at:
Codex:

Handles formatting a date via AJAX.



Source

function wp_ajax_date_format() {
	wp_die( date_i18n( sanitize_option( 'date_format', wp_unslash( $_POST['date'] ) ) ) );
}