Get a customizer setting

Support MB Settings Page Get a customizer settingResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10705
    jamesfoskerjamesfosker
    Participant

    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?

    #10712
    Anh TranAnh Tran
    Keymaster

    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 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.