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



wp_ajax_time_format › WordPress Function

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

Handles formatting a time via AJAX.



Source

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