public is_plugin_active ( ) : boolean | ||
Результат | boolean |
public function is_plugin_active()
{
if (class_exists('\\RGFormsModel') && method_exists('\\RGFormsModel', 'get_forms')) {
return true;
}
return false;
}