Home>Support>How to add options to the settings page of PageBuilder

How to add options to the settings page of PageBuilder

Hello,
is there any hook where we can add options to PageBuilder settings page in the admin area?

wp-admin/options-general.php?page=siteorigin_panels

so I want another tab in addition to “General, Widget, Layout, Content”.

Is that possible?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 9 months ago design4life

    any ideas?

  2. 7 years, 9 months ago Alex S
    Hi, I Work Here

    Hi Design4life,

    Sorry, we must have missed this thread.

    Please refer to the settings code for a general idea. Basically, you need to add a filter fir siteorigin_panels_settings_fields and set up your settings. Refer to the settings_fields for an idea of how they’re set up.

  3. 7 years, 9 months ago design4life

    Thank you Alex,
    this is exactly what I wanted.

  4. 7 years, 9 months ago design4life

    I have some trouble accessing the value from the settings page,
    if I do

    if ( siteorigin_panels_setting( 'my-option' )) {
        var_dump("my option is enabled");
        }

    then I get

    Call to undefined function siteorigin_panels_setting()

    how can I access the value of the settings?

  5. 7 years, 9 months ago design4life

    never mind, the issue is resolved

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More