File: wp-admin/includes/plugin.php
-
functionadd_plugins_page()
Adds a submenu page to the Plugins main menu.
-
functionadd_users_page()
Adds a submenu page to the Users/Profile main menu.
-
functionvalidate_plugin()
Validates the plugin path.
-
functionadd_dashboard_page()
Adds a submenu page to the Dashboard main menu.
-
functionis_uninstallable_plugin()
Determines whether the plugin can be uninstalled.
-
functionadd_posts_page()
Adds a submenu page to the Posts main menu.
-
functionuninstall_plugin()
Uninstalls a single plugin.
-
functionadd_media_page()
Adds a submenu page to the Media main menu.
-
Fires in uninstall_plugin() once the plugin has been uninstalled.
-
functionadd_links_page()
Adds a submenu page to the Links main menu.
-
functionadd_menu_page()
Adds a top-level menu page.
-
functiondeactivate_plugins()
Deactivates a single plugin or multiple plugins.
-
function_sort_uname_callback()
Declares a callback to sort array by a ‘Name’ key.
-
Fires as a specific plugin is being deactivated.
-
functionget_dropins()
Checks the wp-content directory and retrieve all drop-ins with any plugin data.
-
Fires after a plugin is deactivated.
-
function_get_dropins()
Returns drop-in plugins that WordPress uses.
-
functionactivate_plugins()
Activates multiple plugins.
-
functionis_plugin_active()
Determines whether a plugin is active.
-
functiondelete_plugins()
Removes directory and files of a plugin for a list of plugins.
-
functionis_plugin_inactive()
Determines whether the plugin is inactive.
-
functionvalidate_active_plugins()
Validates active plugins.
-
functionis_plugin_active_for_network()
Determines whether the plugin is active for the entire network.
-
functionis_network_only_plugin()
Checks for “Network: true” in the plugin header to see if this should be activated only as a network wide plugin. The plugin would also work when Multisite is not enabled.
-
functionactivate_plugin()
Attempts activation of plugin in a “sandbox” and redirects on success.
-
Fires as a specific plugin is being activated.
-
hookactivated_plugin
Fires after a plugin has been activated.
-
functionget_mu_plugins()
Checks the mu-plugins directory and retrieve all mu-plugin files with any plugin data.
-
functionget_plugin_data()
Parses the plugin contents to retrieve plugin’s metadata.
-
Sanitizes plugin data, optionally adds markup, optionally translates.