Do I need to activate meta-box in filter for plugin?

Support Meta Box AIO Do I need to activate meta-box in filter for plugin?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #47777
    alpha.mediaalpha.media
    Participant

    Hello, I currently use the filter to activate which extensions are needed for Meta Box AIO. With the changes of not needing the base plugin installed as well anymore, do I need to include meta-box in this array for it to load properly with the changes made to AIO?

    /**
     * Activates only the Meta Box extensions needed.
     */
    add_filter('mb_aio_extensions', function ($extensions) {
        $extensions = array('mb-blocks', 'mb-settings-page', 'mb-term-meta', 'mb-user-meta', 'meta-box-columns', 'meta-box-conditional-logic', 'meta-box-geolocation', 'meta-box-group', 'meta-box-include-exclude', 'meta-box-tabs', 'meta-box-text-limiter');
        return $extensions;
    });
    #47781
    PeterPeter
    Moderator

    Hello,

    meta-box plugin is a dependency, not an extension so it won't be controlled by the filter hook meta_box_aio. You don't need to add it to the callback function.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.