Pageimages::add()
Add a new Pageimage item, or create one from given filename and add it.
Usage
$pageimages = $pageimages->add($item);
Arguments
Name | Type(s) | Description |
---|---|---|
$item | Pageimage string | If item is a string (filename) then the Pageimage instance will be created automatically. |
Return value
Pageimages methods and properties
API reference based on ProcessWire core version 3.0.251