Custom Fields
Support MB Settings Page Get a customizer setting

  • Creator
  • #10705
    Resolved jamesfosker

    I previously built my plugin using the WP customizer but I now want to move certain customizer checkboxes to my settings page, how can I make a setting that will work with a customizer option, I use theme_mod for my customizer options.

    Would it be possible to make these 2 settings work together?

Viewing 1 replies (of 1 total)
  • Author
  • #10712
    Anh Tran

    Yes, it's possible.

    When you create a settings page with MB Settings Page, remember to set the option_name to theme_mods_$themeslug. Then all the settings in the customizer will be available for the settings page and vise versa.

    For more info, please see the docs.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.