Custom Fields
Support MB Settings Page Customizer panel appears in post unless 'post_types' => false is set

  • Creator
  • #17601
    Resolved Przemek

    When I create a Customizer panel like here:

    add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) {
        $meta_boxes[] = array(
            'id'             => 'general',
            'title'          => 'General',
            'panel'          => '', // THIS
            'fields'         => array(

    the meta box unexpectedly appears in default post type (post) edit screen as well.

    I needed to add 'post_types' => false although it wasn't documented here.

Viewing 1 replies (of 1 total)
  • Author
  • #17616
    Anh Tran


    Thanks for pointing it out. I think it's a bug since the meta box should not be visible in the post edit screen. I'll fix it in the next version.

    Updated: It's fixed in the 2.1.0 version of MB Settings Page. Please update.

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