Find abstracted HTML/href attribute Textarea links to given $page
Usage
// basic usage
$items = $fieldtypeTextarea->findLinks(Page $page);
// usage with all arguments
$items = $fieldtypeTextarea->findLinks(Page $page, $selector = '', $field = '', array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page | Find links to this page |
selector (optional) | string, bool | Optionally filter by selector or specify boolean true to assume "include=all". |
field (optional) | string, Field | Optionally limit to searching given field name/instance. |
options (optional) | array | Options to modify return value:
|
Return value
PageArray
array
int
FieldtypeTextarea methods and properties
API reference based on ProcessWire core version 3.0.236