Skip to content

Enhancement: for options page - ability to autoload=false for options #1093

@slaFFik

Description

@slaFFik

Expected Behavior:

When creating an options page using \new_cmb2_box() give ability to define the autoloader, so devs could define that those options should NOT be autoloaded.

As a developer, you know the drawbacks of autoload=yes.

Actual Behavior:

currently it defaults to yes

Steps to reproduce (I have confirmed I can reproduce this issue on the trunk branch):

Use the https://github.com/CMB2/CMB2-Snippet-Library/blob/master/options-and-settings-pages/options-pages-with-tabs-and-submenus.php snippet and save options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions