dozent_datetime_format( null $timestamp = null )
Format date time set by WordPress
Description
See also
Parameters
- $timestamp
-
(null) (Optional)
Default value: null
Return
(mixed|void)
Source
File: includes/core-functions.php
function dozent_datetime_format( $timestamp = null ) { if ( ! $timestamp ) { $timestamp = dozent_time(); } $date = date_i18n( get_option( 'date_format' ), $timestamp ) . ' ' . date_i18n( get_option( 'time_format' ), $timestamp ); /** * Filter output of dozent_datetime_format(); * * @see dozent_datetime_format(); * * @param string $date Date format * @param int $timestamp Timestamp */ return apply_filters( 'dozent_datetime_format', $date, $timestamp ); }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |