wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-admin/includes/plugin.php › WordPress File
Functions54
› WordPress Plugin Administration API
Function | Short description |
---|---|
activate_plugin | Attempts activation of plugin in a "sandbox" and redirects on success. |
activate_plugins | Activates multiple plugins. |
add_allowed_options | Adds an array of options to the list of allowed options. |
add_comments_page | Adds a submenu page to the Comments main menu. |
add_dashboard_page | Adds a submenu page to the Dashboard main menu. |
add_links_page | Adds a submenu page to the Links main menu. |
add_management_page | Adds a submenu page to the Tools main menu. |
add_media_page | Adds a submenu page to the Media main menu. |
add_menu_page | Adds a top-level menu page. |
add_options_page | Adds a submenu page to the Settings main menu. |
add_pages_page | Adds a submenu page to the Pages main menu. |
add_plugins_page | Adds a submenu page to the Plugins main menu. |
add_posts_page | Adds a submenu page to the Posts main menu. |
add_submenu_page | Adds a submenu page. |
add_theme_page | Adds a submenu page to the Appearance main menu. |
add_users_page | Adds a submenu page to the Users/Profile main menu. |
deactivated_plugins_notice | Renders an admin notice when a plugin was deactivated during an update. |
deactivate_plugins | Deactivates a single plugin or multiple plugins. |
delete_plugins | Removes directory and files of a plugin for a list of plugins. |
get_admin_page_parent | Gets the parent file of the current admin page. |
get_admin_page_title | Gets the title of the current admin page. |
get_dropins | Checks the wp-content directory and retrieve all drop-ins with any plugin data. |
get_mu_plugins | Checks the mu-plugins directory and retrieve all mu-plugin files with any plugin data. |
get_plugins | Checks the plugins directory and retrieve all plugin files with plugin data. |
get_plugin_data | Parses the plugin contents to retrieve plugin's metadata. |
get_plugin_files | Gets a list of a plugin's files. |
get_plugin_page_hook | Gets the hook attached to the administrative page of a plugin. |
get_plugin_page_hookname | Gets the hook name for the administrative page of a plugin. |
is_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. |
is_plugin_active | Determines whether a plugin is active. |
is_plugin_active_for_network | Determines whether the plugin is active for the entire network. |
is_plugin_inactive | Determines whether the plugin is inactive. |
is_plugin_paused | Determines whether a plugin is technically active but was paused while loading. |
is_uninstallable_plugin | Determines whether the plugin can be uninstalled. |
menu_page_url | Gets the URL to access a particular menu page based on the slug it was registered with. |
option_update_filter | Refreshes the value of the allowed options list available via the 'allowed_options' hook. |
paused_plugins_notice | Renders an admin notice in case some plugins have been paused due to errors. |
plugin_sandbox_scrape | Loads a given plugin attempt to generate errors. |
remove_allowed_options | Removes a list of options from the allowed options list. |
remove_menu_page | Removes a top-level admin menu. |
remove_submenu_page | Removes an admin submenu. |
resume_plugin | Tries to resume a single plugin. |
settings_fields | Outputs nonce, action, and option_page fields for a settings page. |
uninstall_plugin | Uninstalls a single plugin. |
user_can_access_admin_page | Determines whether the current user can access the current admin page. |
validate_active_plugins | Validates active plugins. |
validate_plugin | Validates the plugin path. |
validate_plugin_requirements | Validates the plugin requirements for WordPress version and PHP version. |
wp_add_privacy_policy_content | Declares a helper function for adding content to the Privacy Policy Guide. |
wp_clean_plugins_cache | Clears the plugins cache used by get_plugins() and by default, the plugin updates cache. |
wp_get_plugin_error | Gets the error that was recorded for a paused plugin. |
_get_dropins | Returns drop-in plugins that WordPress uses. |
_get_plugin_data_markup_translate | Sanitizes plugin data, optionally adds markup, optionally translates. |
_sort_uname_callback | Declares a callback to sort array by a 'Name' key. |