wp-admin/includes/plugin.php


Lines:

1 to 100 of 129
<?php

/**
 * WordPress Plugin Administration API
 *
 * @package WordPress
 * @subpackage Administration
 */

/* function get_plugin_data() – Parses the plugin contents to retrieve plugin’s metadata. */

/* function _get_plugin_data_markup_translate() – Sanitizes plugin data, optionally adds markup, optionally translates. */

/* function get_plugin_files() – Get a list of a plugin’s files. */

/* function get_plugins() – Check the plugins directory and retrieve all plugin files with plugin data. */

/* function get_mu_plugins() – Check the mu-plugins directory and retrieve all mu-plugin files with any plugin data. */

/* function _sort_uname_callback() – Callback to sort array by a ‘Name’ key. */

/* function get_dropins() – Check the wp-content directory and retrieve all drop-ins with any plugin data. */

/* function _get_dropins() – Returns drop-ins that WordPress uses. */

/* function is_plugin_active() – Determines whether a plugin is active. */

/* function is_plugin_inactive() – Determines whether the plugin is inactive. */

/* function is_plugin_active_for_network() – Determines whether the plugin is active for the entire network. */

/* function 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. */

/* function activate_plugin() – Attempts activation of plugin in a "sandbox" and redirects on success. */

/* function deactivate_plugins() – Deactivate a single plugin or multiple plugins. */

/* function activate_plugins() – Activate multiple plugins. */

/* function delete_plugins() – Remove directory and files of a plugin for a list of plugins. */

/* function validate_active_plugins() – Validate active plugins */

/* function validate_plugin() – Validate the plugin path. */

/* function validate_plugin_requirements() – Validates the plugin requirements for WordPress version and PHP version. */

/* function is_uninstallable_plugin() – Whether the plugin can be uninstalled. */

/* function uninstall_plugin() – Uninstall a single plugin. */

//
// Menu.
//

/* function add_menu_page() – Add a top-level menu page. */

/* function add_submenu_page() – Add a submenu page. */

/* function add_management_page() – Add submenu page to the Tools main menu. */

/* function add_options_page() – Add submenu page to the Settings main menu. */

/* function add_theme_page() – Add submenu page to the Appearance main menu. */

/* function add_plugins_page() – Add submenu page to the Plugins main menu. */

/* function add_users_page() – Add submenu page to the Users/Profile main menu. */

/* function add_dashboard_page() – Add submenu page to the Dashboard main menu. */

/* function add_posts_page() – Add submenu page to the Posts main menu. */

/* function add_media_page() – Add submenu page to the Media main menu. */

/* function add_links_page() – Add submenu page to the Links main menu. */

/* function add_pages_page() – Add submenu page to the Pages main menu. */

/* function add_comments_page() – Add submenu page to the Comments main menu. */

/* function remove_menu_page() – Remove a top-level admin menu. */

/* function remove_submenu_page() – Remove an admin submenu. */

/* function menu_page_url() – Get the URL to access a particular menu page based on the slug it was registered with. */

//
// Pluggable Menu Support -- Private.
//
/* function get_admin_page_parent() – Gets the parent file of the current admin page. */

/* function get_admin_page_title() – Gets the title of the current admin page. */

/* function get_plugin_page_hook() – */

/* function get_plugin_page_hookname() – Gets the hook name for the administrative page of a plugin. */

/* function user_can_access_admin_page() – Determines whether the current user can access the current admin page. */

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,