A WordPress-centric search engine for devs and theme authors



wp-admin/includes/plugin.php ›

Functions47
WordPress Plugin Administration API


Function Short description
activate_pluginAttempts activation of plugin in a "sandbox" and redirects on success.
activate_pluginsActivate multiple plugins.
add_comments_pageAdd submenu page to the Comments main menu.
add_dashboard_pageAdd submenu page to the Dashboard main menu.
add_links_pageAdd submenu page to the Links main menu.
add_management_pageAdd submenu page to the Tools main menu.
add_media_pageAdd submenu page to the Media main menu.
add_menu_pageAdd a top-level menu page.
add_options_pageAdd submenu page to the Settings main menu.
add_option_whitelistAdds an array of options to the options whitelist.
add_pages_pageAdd submenu page to the Pages main menu.
add_plugins_pageAdd submenu page to the Plugins main menu.
add_posts_pageAdd submenu page to the Posts main menu.
add_submenu_pageAdd a submenu page.
add_theme_pageAdd submenu page to the Appearance main menu.
add_users_pageAdd submenu page to the Users/Profile main menu.
deactivate_pluginsDeactivate a single plugin or multiple plugins.
delete_pluginsRemove directory and files of a plugin for a list of plugins.
get_admin_page_parent-
get_admin_page_title-
get_dropinsCheck the wp-content directory and retrieve all drop-ins with any plugin data.
get_mu_pluginsCheck the mu-plugins directory and retrieve all mu-plugin files with any plugin data.
get_pluginsCheck the plugins directory and retrieve all plugin files with plugin data.
get_plugin_dataParses the plugin contents to retrieve plugin's metadata.
get_plugin_filesGet a list of a plugin's files.
get_plugin_page_hook-
get_plugin_page_hookname-
is_network_only_pluginChecks 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.
is_plugin_activeCheck whether a plugin is active.
is_plugin_active_for_networkCheck whether the plugin is active for the entire network.
is_plugin_inactiveCheck whether the plugin is inactive.
is_uninstallable_pluginWhether the plugin can be uninstalled.
menu_page_urlGet the url to access a particular menu page based on the slug it was registered with.
option_update_filterRefreshes the value of the options whitelist available via the 'whitelist_options' hook.
plugin_sandbox_scrapeLoad a given plugin attempt to generate errors.
remove_menu_pageRemove a top-level admin menu.
remove_option_whitelistRemoves a list of options from the options whitelist.
remove_submenu_pageRemove an admin submenu.
settings_fieldsOutput nonce, action, and option_page fields for a settings page.
uninstall_pluginUninstall a single plugin.
user_can_access_admin_page-
validate_active_pluginsValidate active plugins
validate_pluginValidate the plugin path.
wp_clean_plugins_cacheClears the Plugins cache used by get_plugins() and by default, the Plugin Update cache.
_get_dropinsReturns drop-ins that WordPress uses.
_get_plugin_data_markup_translateSanitizes plugin data, optionally adds markup, optionally translates.
_sort_uname_callbackCallback to sort array by a 'Name' key.