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
4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 | 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. |