Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/includes/class-wp-upgrader.php | apply_filters | 270 | /** * 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $reply | Whether to bail without returning the package. |
string | $package | The package file name. |
WP_Upgrader | $upgrader | The WP_Upgrader instance. |
array | $hook_extra | Extra arguments passed to hooked filters. |