Using with Include_Exclude doesn't work

Support MB User Meta Using with Include_Exclude doesn't workResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4241
    ChrisLowranceChrisLowrance
    Participant

    Hey,

    I've been trying to use this to hide User Meta fields depending on user role. Oddly, it works to prevent Meta Box's CSS files from loading, but does not remove the meta box html.

    #4261
    Anh TranAnh Tran
    Keymaster

    Hi Chris, let me check it and will get back to you.

    #4384
    ChrisLowranceChrisLowrance
    Participant

    Any update on this?

    #4387
    Anh TranAnh Tran
    Keymaster

    I have a solution for that, but it requires both the core plugin and the extension to update. I'm thinking about backward compatibility.

    #4388
    ChrisLowranceChrisLowrance
    Participant

    Thanks!

    In the meantime, it works to wrap the metabox array within an if (current_user_can) condition.

    #4390
    Anh TranAnh Tran
    Keymaster

    Yes, that would work, too. I'm refactoring the code to make it better 🙂

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