Changeset 41231
- Timestamp:
- 08/04/2017 10:14:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r41161 r41231 644 644 * Filters the action links displayed for each plugin in the Network Admin Plugins list table. 645 645 * 646 * The default action links for the Network plugins list table include647 * 'Network Activate', 'Network Deactivate', and 'Delete'.648 *649 646 * @since 3.1.0 650 647 * 651 * @param array $actions An array of plugin action links. 648 * @param array $actions An array of plugin action links. By default this can include 'activate', 649 * 'deactivate', and 'delete'. 652 650 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 653 * @param array $plugin_data An array of plugin data. 654 * @param string $context The plugin context. Defaults are 'All', 'Active', 655 * 'Inactive', 'Recently Activated', 'Upgrade', 656 * 'Must-Use', 'Drop-ins', 'Search'. 651 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 652 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive', 653 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'. 657 654 */ 658 655 $actions = apply_filters( 'network_admin_plugin_action_links', $actions, $plugin_file, $plugin_data, $context ); … … 661 658 * Filters the list of action links displayed for a specific plugin in the Network Admin Plugins list table. 662 659 * 663 * The dynamic portion of the hook name, $plugin_file, refers to the path660 * The dynamic portion of the hook name, `$plugin_file`, refers to the path 664 661 * to the plugin file, relative to the plugins directory. 665 662 * 666 663 * @since 3.1.0 667 664 * 668 * @param array $actions An array of plugin action links. 665 * @param array $actions An array of plugin action links. By default this can include 'activate', 666 * 'deactivate', and 'delete'. 669 667 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 670 * @param array $plugin_data An array of plugin data. 671 * @param string $context The plugin context. Defaults are 'All', 'Active', 672 * 'Inactive', 'Recently Activated', 'Upgrade', 673 * 'Must-Use', 'Drop-ins', 'Search'. 668 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 669 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive', 670 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'. 674 671 */ 675 672 $actions = apply_filters( "network_admin_plugin_action_links_{$plugin_file}", $actions, $plugin_file, $plugin_data, $context ); … … 680 677 * Filters the action links displayed for each plugin in the Plugins list table. 681 678 * 682 * The default action links for the site plugins list table include683 * 'Activate', and 'Deactivate', for a network site, and684 * 'Activate', 'Deactivate', and 'Delete' for a single site.685 *686 679 * @since 2.5.0 687 680 * @since 2.6.0 The `$context` parameter was added. 688 * 689 * @param array $actions An array of plugin action links. 681 * @since 4.9.0 The 'Edit' link was removed from the list of action links. 682 * 683 * @param array $actions An array of plugin action links. By default this can include 'activate', 684 * 'deactivate', and 'delete'. With Multisite active this can also include 685 * 'network_active' and 'network_only' items. 690 686 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 691 * @param array $plugin_data An array of plugin data. 692 * @param string $context The plugin context. Defaults are 'All', 'Active', 693 * 'Inactive', 'Recently Activated', 'Upgrade', 694 * 'Must-Use', 'Drop-ins', 'Search'. 687 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 688 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive', 689 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'. 695 690 */ 696 691 $actions = apply_filters( 'plugin_action_links', $actions, $plugin_file, $plugin_data, $context ); … … 699 694 * Filters the list of action links displayed for a specific plugin in the Plugins list table. 700 695 * 701 * The dynamic portion of the hook name, $plugin_file, refers to the path696 * The dynamic portion of the hook name, `$plugin_file`, refers to the path 702 697 * to the plugin file, relative to the plugins directory. 703 698 * 704 699 * @since 2.7.0 705 * 706 * @param array $actions An array of plugin action links. 700 * @since 4.9.0 The 'Edit' link was removed from the list of action links. 701 * 702 * @param array $actions An array of plugin action links. By default this can include 'activate', 703 * 'deactivate', and 'delete'. With Multisite active this can also include 704 * 'network_active' and 'network_only' items. 707 705 * @param string $plugin_file Path to the plugin file relative to the plugins directory. 708 * @param array $plugin_data An array of plugin data. 709 * @param string $context The plugin context. Defaults are 'All', 'Active', 710 * 'Inactive', 'Recently Activated', 'Upgrade', 711 * 'Must-Use', 'Drop-ins', 'Search'. 706 * @param array $plugin_data An array of plugin data. See `get_plugin_data()`. 707 * @param string $context The plugin context. By default this can include 'all', 'active', 'inactive', 708 * 'recently_activated', 'upgrade', 'mustuse', 'dropins', and 'search'. 712 709 */ 713 710 $actions = apply_filters( "plugin_action_links_{$plugin_file}", $actions, $plugin_file, $plugin_data, $context );
Note: See TracChangeset
for help on using the changeset viewer.