Custom Fields
Re-Envisioned
Support MB Settings Page Unknown order handler on header

  • This topic has 4 replies, 2 voices, and was last updated 1 month ago by LU.
  • Creator
    Topic
  • #21416
    Resolved LU
    Participant

    Hi
    After I update the plugin and WP core.
    I just found there is a “handle-actions” on the box header. (one up arrow and one down arrow)
    Do you know what’s happening for this? How to remove it?

    this is for setting page:

            $settings_pages[] = array(
                'id'          => 'some-options',
                'option_name' => 'some-options',
                'menu_title'  => 'title,
                'icon_url'    => 'dashicons-megaphone',
                'style'       => 'no-boxes',
                'columns'     => 1,
                'tab_style'   => 'left',
                'tabs'        => $some_array,
                'capability' => 'edit_some_options',
            );

    this what I put the metabox to setting page,
    I use some dynamic value to generate tab content.

            foreach ($this->theme_options['account_group'] as $tab) {
    
                $meta_boxes[] = array(
                    'title'          => 'title',
                    'id'             => $tab['account_id'] . '_account',
                    'class'          => 'details_group',
                    'settings_pages' => 'some-options',
                    'tab'            => $tab['account_id'],
                    'show'           => array(
                        'relation'   => 'OR',
                    ),
                    'include'       => array(
                        'relation'  => $relation,
                        'user_id'   => $tab['able_edit_id'],
                        'user_role' => $available_role,
                    ),
                    'fields'         => array(
    
                        array(
                            'id'     => $tab['account_id'].'_detail_group',
                            'type'   => 'group',
                            'clone' => 1,
                            'max_clone' => 10,
                            'default_state' => 'expanded',
                            'collapsible' => true,
                            'save_state' => true,
                            'sort_clone' => true,
                            'group_title' => $tab['account_title'],
                            'add_button' => esc_html__( '+ Add More', 'GNEWSlang' ),
                            'fields' => array( .... some box array here

    Please help, thank you

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