Technical Docs

Search Documentation

Function: tribe_register_plugin

Checks if this plugin has permission to run, if not it notifies the admin

Located at src/functions/utils.php (Line: 40)

Parameters summary

(string) $file_path Full file path to the base plugin file
(string) $main_class The Main/base class for this plugin
(string) $version The version
(array) $classes_req Any Main class files/tribe plugins required for this to run

Return value summary

(bool) Indicates if plugin should continue initialization


bool tribe_register_plugin ( string $file_path, string $main_class, string $version, array $classes_req = array() )