[Resolved] Display or hide modules using hook / function?

Home Forums Support [Resolved] Display or hide modules using hook / function?

Home Forums Support Display or hide modules using hook / function?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1251556
    Mike

    Hi – is it possible to hide GP Premium modules somehow other than using the WPAdmin interface?

    Use case is we’d like to give all customiser options to clients with Role 1 but only a few customiser options to clients with Role 2.

    Possible? Or should we hack the customiser code ourselves somehow?

    cheers!

    Mike

    #1252303
    Tom
    Lead Developer
    Lead Developer

    Hi Mike,

    Might be possible, but not 100% sure, and it likely wouldn’t be 100% future backward-compatibility safe.

    Which options are you wanting to remove?

    #1259137
    Mike

    Hi Tom

    On balance maybe it’s best for us to simply uncheck options in the backend – I think we were probably overthinking this!

    thanks

    Mike

    #1259886
    Tom
    Lead Developer
    Lead Developer

    No problem!

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