Browse: Home / Classes / Learndash_Arr /

Learndash_Arr::except

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

Returns an array with specified keys removed.


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.