File: wp-admin/includes/plugin.php
-
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.
-
functionadd_pages_page()
Adds a submenu page to the Pages main menu.
-
functionadd_submenu_page()
Adds a submenu page.
-
functionadd_comments_page()
Adds a submenu page to the Comments main menu.
-
functionadd_management_page()
Adds a submenu page to the Tools main menu.
-
functionadd_options_page()
Adds a submenu page to the Settings main menu.
-
functionadd_theme_page()
Adds a submenu page to the Appearance main menu.
-
functionadd_plugins_page()
Adds a submenu page to the Plugins main menu.
-
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.
-
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.
-
functionget_plugin_data()
Parses the plugin contents to retrieve plugin’s metadata.
-
Sanitizes plugin data, optionally adds markup, optionally translates.
-
functionget_plugin_files()
Gets a list of a plugin’s files.