Custom Fields
Re-Envisioned
Support MB Settings Page Settings Page tag conflict with thenewsletter plugin

  • Creator
    Topic
  • #32909
    Resolved eric@reformedmedia.com
    Participant

    Hi,
    I was trying to integrate the newsletterplugin.com plugin into my website but parts of the plugin became unable to view. I deactivated all my plugins and reactivated them one-by-one. It led to the plugin I created for my settings page using Metabox.

    I then troubleshot every line of code in the plugin until I narrowed it down to the "mb_settings_pages" id that creates the settings page

    <div>add_filter( 'mb_settings_pages', 'prefix_options_page' );</div>

    Is there any way to change that ID so it doesn't conflict with the other plugin? I tried changing it to mb_settings_pages2 (which solved the problem with the newsletter problem) but still killed my metabox settings.

    Does it have to be defined as mb_settings_pages?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #32921
    Long Nguyen
    Moderator

    Hi,

    Yes, you have to use the filter hook mb_settings_pages to register a settings page. If the settings page works properly before activating the plugin newsletter, please contact this plugin support to ask for help with this case.

    #32933

    thanks. Happy New year.

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