Description
Filters the source file location for the upgrade package.
Occurrences
Filename | Line Number |
---|---|
wp-admin/includes/class-wp-upgrader.php | 589 |
Parameters
Type | Name | Description |
---|---|---|
string | $source | File source location. |
string | $remote_source | Remote file source location. |
WP_Upgrader | $upgrader | WP_Upgrader instance. |
array | $hook_extra | Extra arguments passed to hooked filters. |
PHP Doc
/**
* Filters the source file location for the upgrade package.
*
* @since 2.8.0
* @since 4.4.0 The $hook_extra parameter became available.
*
* @param string $source File source location.
* @param string $remote_source Remote file source location.
* @param WP_Upgrader $upgrader WP_Upgrader instance.
* @param array $hook_extra Extra arguments passed to hooked filters.
*/