Technical Docs

Search Documentation

Function: tribe_get_date_option

Get a date option.

Located at src/functions/template-tags/general.php (Line: 509)

Description

Retrieve an option value taking care to escape it to preserve date format slashes.

Parameters summary

(string) $optionName Name of the option to retrieve.
(string) $default Value to return if no such option is found.

Return value summary

(mixed) Value of the option if found

Examples

mixed tribe_get_date_option ( string $optionName, string $default = ’’ )