Meta Box AIO

Improve this page

Meta Box AIO is a part of Developer Bundle, which contains all the premium extensions and the updater. This extension allows you to just install 1 plugin and have everything in hand. See here for the introduction.

Settings page

The extension has a settings page under Settings → Meta Box AIO, where you can enable/disable the modules you need/don’t need.

settings page

Simply check/uncheck the checkbox to enable/disable the corresponding extensions. Then click Save Changes.

Free extensions

Along with the premium extensions, Meta Box AIO allows you to load free extensions from wordpress.org. When activate the Meta Box AIO, you will see a notification at the top of the screen:

notification

Simply click on the Begin installing plugins to install them (if you haven’t). And then click Begin activating plugins to activate them.

Filters

While the settings page and the notification to install free extensions are great for users, developers might want to hide them from normal users. To do that, Meta Box AIO provides some filters:

mb_aio_show_settings

This filter is used to show/hide the settings page. The callback function should return true to show the settings page, or false to hide it.

To hide the settings page, use the following code:

add_filter( 'mb_aio_show_settings', '__return_false' );

option_meta_box_aio

This filter allows you to change the option of the settings page. Thus, enable/disable modules by just coding.

For example, the code below enables only the Meta Box Builder extension:

add_filter( 'option_meta_box_aio', function( $option ) {
    $option = array( 'meta-box-builder' => 1 );
    return $option;
} );

The option is an array, where the extension slug is the key and value is 1 if enable, 0 if disable.

mb_aio_load_free_extensions

This filter allows you to show/hide notification to load free extensions from wordpress.org. The callback function should return true to show the settings page, or false to hide it.

To not load free extensions, use the following code:

add_filter( 'mb_aio_load_free_extensions', '__return_false' );