Closed justinpicard closed 5 years ago
With the newest version, you can use get_exopite_sof_option( $option_slug, $default = false )
.
The newest version will use the current language sub array to save options, like:
$options[language][option]
I think this:
$social_channels = $myplugin_options['social_channels'];
should be this:
$social_channels = $myplugin_options[$current_language]['social_channels'];
you can use var_export too:
$myplugin_options = get_option('myplugin-options');
var_export( $myplugin_options );
I have text fields for e.g. social media channels. The 'title' field of this option contains the name of a social channel. I want to obtain the value of this 'title'. How can I do that?
My loop looks like this (blade templating). The title value goes inside the
.social-icon .a