Skip to content

Kirby 3.8.4

$arguments->remove()

Removes an element from the array by key

$arguments->remove(mixed $key): Kirby\Query\Arguments

Parameters

Name Type Default Description
$key * mixed the name of the key

Return type

Kirby\Query\Arguments

This method modifies the existing $arguments object it is applied to and returns it again.

Parent class

Kirby\Query\Arguments inherited from Kirby\Toolkit\Collection