A WordPress-centric search engine for devs and theme authors



wp_ajax_time_format ›

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

Ajax handler for time formatting.



Source

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