Using metabox in multiple plugins

Support General Using metabox in multiple pluginsResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34614
    sherwin_flightsherwin_flight
    Participant

    My premium theme came with a bundled version of Metabox and it's working well. It is installed as part of a separate plugin that contains many of the themes features. Basically:

    Theme: ACME Theme
    Plugin: ACME Theme Functionality (contains Metabox)

    I'm creating a custom plugin to add some additional features to my website, and I want to use Metabox in that as well since I already have it installed.

    What is the correct way to allow my custom plugin to hook into the bundled version of Metabox that's part of that other theme plugin?

    #34693
    Long NguyenLong Nguyen
    Moderator

    Hi,

    If Meta Box is already included in a third-party plugin and activated on your site, you can follow the documentation to use the filter hook to register meta boxes and custom fields with coding.
    https://docs.metabox.io/creating-meta-boxes/#using-code

    #35220
    sherwin_flightsherwin_flight
    Participant

    Great, thank you. I was having some trouble and wanted to make sure I was doing it correctly, but my problem was related to another issues and it's now working properly.

    Thanks for your help.

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