is_plugin_active
-
Hi,
I keep getting this error when putting this in my plugin:
Fatal error: Call to undefined function is_plugin_active() in /home/xxxx/xx
if (is_plugin_active('wplite/wplite.php')) { wp_get_current_user(); if ($current_user->user_login=="Webmaster") { remove_action('admin_menu', 'wplite_disable_menus'); remove_action('admin_head', 'wplite_disable_metas'); }}
Why is this happening?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘is_plugin_active’ is closed to new replies.