eventorganiser_format_datetime
(filter)
Filters the formatted date (DateTime object).
Formats should be specified using php date format standards.
Parameters
string
|
$formatted_datetime |
The formatted date.
|
string
|
$format |
The format in which the date should be returned.
|
string
|
$datetime |
The provided DateTime object
|
Example Usage
add_filter( 'eventorganiser_format_datetime', 'my_callback_function', 10, 3 );
function my_callback_function( $formatted_datetime, $format, $datetime ){
//Change first value and return it
return $formatted_datetime
};
Resources