Skip to content

Kirby 4.2.0

$optionsapi->load()

Loads the API content from a remote URL or local file (or from cache)

$optionsapi->load(Kirby\Cms\ModelWithContent $model): array|null

Parameters

Name Type Default
$model * Kirby\Cms\ModelWithContent

Return type

array|null

Parent class

Kirby\Option\OptionsApi