• When I’m trying to check if a particular plugin administration function exists (one of those that are defined in: installDir/wp-admin/includes/plugin.php) with function_exists() I get negative results. For instance var_dump(function_exists(deactivate_plugins)) results in bool(false). That makes me think that installDir/wp-admin/includes/plugin.php file is not included when I try to check its existence. Can anyone shed light on how to make plugin administration functions work?

The topic ‘activate_plugin function is not callable’ is closed to new replies.