Description
Filters whether to return the package.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/class-wp-upgrader.php | 319 |
Parameters
Type | Name | Description |
---|---|---|
bool | $reply | Whether to bail without returning the package. Default false. |
string | $package | The package file name. |
WP_Upgrader | $upgrader | The WP_Upgrader instance. |
array | $hook_extra | Extra arguments passed to hooked filters. |
PHP Doc
/**
* Filters whether to return the package.
*
* @since 3.7.0
* @since 5.5.0 Added the `$hook_extra` parameter.
*
* @param bool $reply Whether to bail without returning the package.
* Default false.
* @param string $package The package file name.
* @param WP_Upgrader $upgrader The WP_Upgrader instance.
* @param array $hook_extra Extra arguments passed to hooked filters.
*/