Filters the source file location for the upgrade package.
Parameters
$sourcestring|WP_Error- File source location or a WP_Error object.
$remote_sourcestring- Remote file source location.
$upgraderWP_Upgrader- WP_Upgrader instance.
$hook_extraarray- Extra arguments passed to hooked filters.
Source
$source = apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] );
User Contributed Notes
You must log in before being able to contribute a note or feedback.