A WordPress-centric search engine for devs and theme authors



wp_ajax_date_format ›

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

Ajax handler for date formatting.



Source

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