Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

move_array_element()

Description

Utility function used to move the element of one array from a position
to another one in the same array
Note: the manipulation is done on the same array

Parameters

ColumnTypeDefaultDescription
&$array array
$from_index integer Array index we are moving from
$to_index integer Array index we are moving to
$array array

Return

void

This article was last updated 25th November 2020 08:05 Europe/London time based on the source file dated 18th November 2020 08:15 Europe/London time.