Browse: Home / Classes / Learndash_Arr /

Learndash_Arr::forget

Learndash_Arr::forget( array|ArrayAccess|ArrayObject $array,  array $keys )

Deletes a value from array by the passed key(s).


Description #


Parameters #

$array

(<span class="arrayarray<int|">string,mixed>|ArrayAccess|ArrayObject) (Required) Array.

$keys

(<span class="arrayarray<int|">string>) (Required) Keys.


Return #

(array<int|string,mixed>)


Source #

File: includes/helpers/class-learndash-arr.php


Changelog #

Changelog
Version Description
4.5.0 Introduced.