upgrader_pre_install

upgrader_pre_install

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('upgrader_pre_install') is found 1 times:

  • /wp-admin/includes/class-wp-upgrader.php line 546
    		 *
    		 * @param bool|WP_Error $response   Installation response.
    		 * @param array         $hook_extra Extra arguments passed to hooked filters.
    		 */
    		$res = apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] );
    
    		if ( is_wp_error( $res ) ) {
    			return $res;
    		}
    
    		// Retain the original source and destinations.
    

See this hook used in plugins: