Changeset 28256
- Timestamp:
- 05/05/2014 10:23:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r27769 r28256 718 718 * @since 2.6.0 719 719 * 720 * @param string|array $plugins 720 * @param string|array $plugins Single plugin or list of plugins to activate. 721 721 * @param string $redirect Redirect to page after successful activation. 722 722 * @param bool $network_wide Whether to enable the plugin for all sites in the network. … … 744 744 745 745 /** 746 * Remove directory and files of a plugin for a single or list of plugin(s). 747 * 748 * If the plugins parameter list is empty, false will be returned. True when 749 * completed. 746 * Remove directory and files of a plugin for a list of plugins. 750 747 * 751 748 * @since 2.6.0 752 749 * 753 * @param array $plugins List of plugin 754 * @param string $redirect Redirect to page when complete. 755 * @return mixed 756 */ 757 function delete_plugins($plugins, $redirect = '' ) { 750 * @param array $plugins List of plugins to delete. 751 * @param string $deprecated Deprecated. 752 * @return bool|null|WP_Error True on success, false is $plugins is empty, WP_Error on failure. 753 * Null if filesystem credentials are required to proceed. 754 */ 755 function delete_plugins( $plugins, $deprecated = '' ) { 758 756 global $wp_filesystem; 759 757
Note: See TracChangeset
for help on using the changeset viewer.