Support Forum
Support › Meta Box Group › Admin columns are not working with subfieldsResolved
I tried to set one of the group's subfields to be displayed with admin columns, but it didn't work. The field should be out of the group to make it work.
function create_my_fields( $meta_boxes ) { $meta_boxes[] = [ 'title' => '...', 'id' => '...', 'post_types' => '...', 'context' => '...', 'fields' => [ [ 'id' => '...', 'type' => 'group', 'group_title' => '...', 'fields' => [ [ 'id' => '...', 'type' => 'checkbox', // This will NOT work 'admin_columns' => [ 'position' => 'after date', 'title' => 'Active', ], ], ], ], [ 'id' => '...', 'type' => 'checkbox', // This will work 'admin_columns' => [ 'position' => 'after date', 'title' => 'Active', ], ], ], ]; return $meta_boxes; } add_filter( 'rwmb_meta_boxes', 'create_my_fields' );
How to use the admin columns with the group subfields?
Hi,
The admin columns do not work with the subfields in a group, only work with the top field. I will inform the development team to consider supporting this case in future updates.
Yes please! Anywhere we can upvote feature requests?
That's right, is there any page to upvote feature requests, or submit new feature requests?
Is there any expected time to get this addition released, please?
This should be documented in the very beginning in a red box dont you think?
https://docs.metabox.io/extensions/mb-admin-columns/#custom-admin-columns