upgrader_source_selection

upgrader_source_selection

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('upgrader_source_selection') is found 1 times:

  • /wp-admin/includes/class-wp-upgrader.php line 597
    		 * @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.
    		 */
    		$source = apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] );
    
    		if ( is_wp_error( $source ) ) {
    			return $source;
    		}
    
    		if ( ! empty( $args['hook_extra']['temp_backup'] ) ) {
    

See this hook used in plugins: