WordPress.org

Forums

activate_plugin function is not callable (1 post)

  1. maribge
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic