getDefaultLicense()
Kirby page method
Returns a default licenseId, in our case it’s the first.
Usage
This method is available on all $page objects:
$page->getDefaultLicense();
Source: /methods/pages/getDefaultLicense.php
Help us improve the site? With your consent, our self-hosted analytics anonymously records how you use the page. Form fields are masked, nothing is shared, and you can change your choice at any time. Learn more
Kirby page method
Returns a default licenseId, in our case it’s the first.
This method is available on all $page objects:
$page->getDefaultLicense();
Source: /methods/pages/getDefaultLicense.php
Jump to