Closed luis9430 closed 4 years ago
Hi, here you can see some examples. https://github.com/JoeSz/Exopite-Simple-Options-Framework/blob/e7e9606c84498914fa939da9e1ff8decb5a63b46/exopite-simple-options/exopite-simple-options-framework-class.php#L1948
You are in a wrong track. get_options need your plugin name, then you can dump all options, like this:
$my_options = get_option( $this->plugin_name );
echo '<pre>' . var_export( $my_options, true ) . '</pre>';
This is also in your code above:
'id' => $this->plugin_name, // Required, meta box id, unique per page, to save: get_option( id )
'id' => 'group_1_sortable', <- this will be an array
Thanks for answering, just one more question, to make the typography work in a repeater text, how could I do it?
I suggest to take a look in: https://github.com/JoeSz/WordPress-Plugin-Boilerplate-Tutorial
Install the example plugin and there you can see, how you can do that. (and more, basically all fields and usage is there) eg.: https://github.com/JoeSz/WordPress-Plugin-Boilerplate-Tutorial/blob/5a9b0fe3010f90f7aaefa3db3d0c52dd1982b41e/plugin-name/admin/class-plugin-name-admin.php#L1066
thanks for your help! I will install the example plugin
Hello! I'm trying to get the values in the repeater, but I don't know very well how, this is my code
` $config_submenu = array(
`
the values i have are these
i try to do this function and it returns "A" "C" but I don't know how to make it return the values separately,
` function carousel(){
`
I hope you can help me, thanks in advance!