Include/Exclude with Setting Page.

Support MB Include Exclude Include/Exclude with Setting Page.Resolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5316
    jroxburyjroxbury
    Participant

    I'm trying to Include/Exclude a field on the settings page(MB Settings Page), using a custom callback. Is this possible?

    I've tried a bunch of things, not sure exactly how this works.

    #5319
    Anh TranAnh Tran
    Keymaster

    The Include/Exclude extension works on the meta boxes, not on fields. You can hide/show meta boxes in a settings page using callback function without any problem. However, if you want to show/hide a field, you might need to do a trick: separate the original meta box into 2 meta boxes: 1 for all other fields that always show, 1 for the specific field that can be shown/hide in the settings page. Then use the Include/Exclude extension on the 2nd meta box.

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