wp_ajax_date_format

Advertisement

Summery Summery

Ajax handler for date formatting.

Syntax Syntax

wp_ajax_date_format()

Source Source

File: wp-admin/includes/ajax-actions.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.