Technical Docs

Search Documentation

Function: tribe_events_resource_url

Returns or echoes a url to a file in the Events Calendar plugin resources directory

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

Parameters summary

(string) $resource the filename of the resource
(bool) $echo whether or not to echo the url
(string) $root_dir directory to hunt for resource files (src or common)

Return value summary



string tribe_events_resource_url ( string $resource, bool $echo = false, string $root_dir = ’src’ )