Filter: mc_date_format

apply_filters( 'mc_date_format', $format, $context ) → {string}

Starting date format used in 'date', 'datespan', and 'multidate' template tags. Default from My Calendar settings.

Parameters:
Name Type Description
$format string

Date Format in PHP date format.

$context string

'date_span_begin'.

Source:
Returns:

Date format.

Type
string

apply_filters( 'mc_date_format', $format, $context ) → {string}

End date format used in 'date', 'datespan', and 'multidate' template tags. Default from My Calendar settings.

Parameters:
Name Type Description
$format string

Date Format in PHP date format.

$context string

'date_span_end'.

Source:
Returns:

Date format.

Type
string

apply_filters( 'mc_date_format', $format, $context ) → {string}

End date format used in 'enddate' and 'daterange' template tags. Default from My Calendar settings.

Parameters:
Name Type Description
$format string

Date Format in PHP date format.

$context string

'template_end'.

Source:
Returns:

Date format.

Type
string

apply_filters( 'mc_date_format', $format, $context ) → {string}

Start date format used in 'date' and 'daterange' template tags. Fallback value for datespan. Default from My Calendar settings.

Parameters:
Name Type Description
$format string

Date Format in PHP date format.

$context string

'template_begin'.

Source:
Returns:

Date format.

Type
string

apply_filters( 'mc_date_format', $format, $context ) → {string}

End date format used in 'date_end_utc'. Default from My Calendar settings.

Parameters:
Name Type Description
$format string

Date Format in PHP date format.

$context string

'template_end_ts'.

Source:
Returns:

Date format.

Type
string

apply_filters( 'mc_date_format', $format, $context ) → {string}

Start date format used in 'date_utc'. Default from My Calendar settings.

Parameters:
Name Type Description
$format string

Date Format in PHP date format.

$context string

'template_begin_ts'.

Source:
Returns:

Date format.

Type
string