File: wp-admin/includes/plugin.php
-
functiondeactivated_plugins_notice()
Renders an admin notice when a plugin was deactivated during an update.
-
functionadd_allowed_options()
Adds an array of options to the list of allowed options.
-
functionremove_allowed_options()
Removes a list of options from the allowed options list.
-
functionwp_get_plugin_error()
Gets the error that was recorded for a paused plugin.
-
functionresume_plugin()
Tries to resume a single plugin.
-
functionpaused_plugins_notice()
Renders an admin notice in case some plugins have been paused due to errors.
-
functionis_plugin_paused()
Determines whether a plugin is technically active but was paused while loading.
-
functionvalidate_plugin_requirements()
Validates the plugin requirements for WordPress version and PHP version.
-
functionwp_add_privacy_policy_content()
Declares a helper function for adding content to the Privacy Policy Guide.
-
Filters the array of excluded directories and files while scanning the folder.
-
Fires in uninstall_plugin() immediately before the plugin is uninstalled.
-
hookdelete_plugin
Fires immediately before a plugin deletion attempt.
-
hookdeleted_plugin
Fires immediately after a plugin deletion attempt.
-
functionget_admin_page_title()
Gets the title of the current admin page.
-
functionget_plugin_page_hook()
Gets the hook attached to the administrative page of a plugin.
-
functionget_plugin_page_hookname()
Gets the hook name for the administrative page of a plugin.
-
functionuser_can_access_admin_page()
Determines whether the current user can access the current admin page.
-
functionoption_update_filter()
Refreshes the value of the allowed options list available via the ‘allowed_options’ hook.
-
functionsettings_fields()
Outputs nonce, action, and option_page fields for a settings page.
-
functionwp_clean_plugins_cache()
Clears the plugins cache used by get_plugins() and by default, the plugin updates cache.
-
functionremove_menu_page()
Removes a top-level admin menu.
-
functionremove_submenu_page()
Removes an admin submenu.
-
functionmenu_page_url()
Gets the URL to access a particular menu page based on the slug it was registered with.
-
functionget_admin_page_parent()
Gets the parent file of the current admin page.
-
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.