$element->find()
Tries to find a single nested element by query and otherwise returns null
$element->find(string $query): Kirby\Parsley\Element|null
Parameters
| Name | Type | Default |
|---|---|---|
| $queryrequired | string |
no default value |
Return types
Kirby\Parsley\Elementornull
This method does not modify the existing $element object but returns a new object with the changes applied. Learn more →