wp_ajax_date_format() – Ajax handler for date formatting.

You appear to be a bot. Output may be restricted

Description

Ajax handler for date formatting.

Usage

wp_ajax_date_format();

Parameters

Returns

void

Source

File name: wordpress/wp-admin/includes/ajax-actions.php
Lines:

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

 View on GitHub View on Trac