Option class helps you retrieve options/settings data.
Option class has only one method. The
get method helps you retrieve your option value.
$optionGroup: string. The option group slug name.
$name: string. The setting name.
The option group value depends on how you save your settings with the
Page class. If you use sections with tabs, the option group value is the section name slug. If you use sections without tabs, the option group value is the page name slug.
If no value/setting is found, the value returned is an empty string.
Discover the other features of the framework:
Made in Belgium