upgrader_install_package_result

upgrader_install_package_result

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('upgrader_install_package_result') is found 1 times:

  • /wp-admin/includes/class-wp-upgrader.php line 913
    		 *
    		 * @param array|WP_Error $result     Result from WP_Upgrader::install_package().
    		 * @param array          $hook_extra Extra arguments passed to hooked filters.
    		 */
    		$result = apply_filters( 'upgrader_install_package_result', $result, $options['hook_extra'] );
    
    		$this->skin->set_result( $result );
    
    		if ( is_wp_error( $result ) ) {
    			// An automatic plugin update will have already performed its rollback.
    			if ( ! empty( $options['hook_extra']['temp_backup'] ) ) {