Admin Columns and default Screen Options

Support MB Admin Columns Admin Columns and default Screen OptionsResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22529
    A.A.
    Participant

    I have set up several admin columns for custom fields that apply to the normal WordPress posts. They show up in the admin area edit screen and work fine.

    However, they are too many for the screen and all of them show by default for new admins. What I want is for just a few of them (four or five) to show in the table, and the rest of them to be unchecked by default from the Screen Options panel. Then I can turn them on when I need to see them.

    Is that possible with MetaBox Admin Columns?
    If yes, how do I set it to be unchecked by default?

    Thank you.

    #22530
    A.A.
    Participant

    I found a working solution using the filter default_hidden_columns
    Reference: https://developer.wordpress.org/reference/hooks/default_hidden_columns/

    But I would still like to know if MB Admin Columns has a way to set these settings without having to use a filter, please.

    #22533
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The extension MB Admin Columns only supports showing the admin column by default. If you want to set an admin column hidden, please use the filter default_hidden_columns. I'm going to create a feature request to support a setting to hide the admin column by default.

    #22538
    A.A.
    Participant

    Thank you, Long Nguyen. That would be a useful feature to have built in to the plugin.

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