$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 |
|---|---|---|
| $query * | string |
– |
Return type
This method does not modify the existing $element object but returns a new object with the changes applied. Learn more →