0
 register_setting('Y-sidebar-options','picture');

where do the option group name stored in database .

3 Answers 3

0

The option group (1st param to register_setting()) is not stored anywhere. The only use for option groups is to output a couple of hidden fields and a nonce, via a call to settings_fields().

0

The options which you store by using the function register_setting is saved in table wp_options.

1
  • I Had searched the Wp_options but found nothing is does it create a column
    – Y07
    Apr 5, 2017 at 14:05
0

Look for the add_setting('Y-sidebar-options'…); call. Settings go into the wp_options table and can be either under a field by it's own name or else a theme_mod (default).

Pls also see: https://codex.wordpress.org/Class_Reference/WP_Customize_Manager/add_setting

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.