Technical Docs

Search Documentation

Function: tribe_get_option

Get Options

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


Retrieve specific key from options array, optionally provide a default return value

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.


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