Browse: Home / Hooks /


apply_filters( 'learndash_date_time_formats',  string $format )

Filters LearnDash date and time format.

Description #

Parameters #


(string) Format to display the date.

Source #

File: includes/ld-misc-functions.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_date_time_formats filter.
	function( $current_format = '' ) {
		// Set $current format to ANY combination of date/time format variables desired.
		$current_format = 'l, F j, Y H:i';

		// Always return the format variable.
		return $current_format;