wp-optionskit
wp-optionskit copied to clipboard
a way to access options
I'm struggling to find a way to access the options or dig through the source to find out how the options are named.
@cgsmith I wonder why nobody has messaged you here yet.
Here's how I do it, which is pretty straightforward:
new OptionsKit( 'myslug' );
// "myslug" here is the one used to set up the OptionsKit object.
$settings = get_option( 'myslug_settings' );