Changeset 46662 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 11/05/2019 09:28:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r46570 r46662 227 227 * 228 228 * @param string $plugin Path to the plugin file relative to the plugins directory. 229 * @return array List of files relative to the plugin root.229 * @return string[] Array of file names relative to the plugin root. 230 230 */ 231 231 function get_plugin_files( $plugin ) { … … 274 274 * 275 275 * @param string $plugin_folder Optional. Relative path to single plugin folder. 276 * @return array Key is the plugin file path and the value is an array of the plugin data.276 * @return array[] Array of arrays of plugin data, keyed by plugin file name. See `get_plugin_data()`. 277 277 */ 278 278 function get_plugins( $plugin_folder = '' ) { … … 355 355 * 356 356 * @since 3.0.0 357 * @return array Key is the mu-plugin file path and the value is an array of the mu-plugin data.357 * @return array[] Array of arrays of mu-plugin data, keyed by plugin file name. See `get_plugin_data()`. 358 358 */ 359 359 function get_mu_plugins() { … … 424 424 * 425 425 * @since 3.0.0 426 * @return array Key is the file path and the value is an array of the plugin data.426 * @return array[] Array of arrays of dropin plugin data, keyed by plugin file name. See `get_plugin_data()`. 427 427 */ 428 428 function get_dropins() { … … 472 472 * 473 473 * @since 3.0.0 474 * @return array Key is file name. The value is an array, with the first value the474 * @return array[] Key is file name. The value is an array, with the first value the 475 475 * purpose of the drop-in and the second value the name of the constant that must be 476 476 * true for the drop-in to be used, or true if no constant is required. … … 1030 1030 * 1031 1031 * @since 2.5.0 1032 * @return array invalid plugins, plugin as key, error as value1032 * @return WP_Error[] Array of plugin errors keyed by plugin file name. 1033 1033 */ 1034 1034 function validate_active_plugins() {
Note: See TracChangeset
for help on using the changeset viewer.