wp_ajax_time_format() WordPress Function
The wp_ajax_time_format() function is used to format the time for an AJAX request. The time will be in the format specified by the time_format option.
wp_ajax_time_format() #
Ajax handler for time formatting.
Source
File: wp-admin/includes/ajax-actions.php
function wp_ajax_time_format() { wp_die( date_i18n( sanitize_option( 'time_format', wp_unslash( $_POST['date'] ) ) ) ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |