• Resolved zactoff

    (@zactoff)


    I need to remove the Events Calendar option from the Customizer, but can’t find any documentation on what this section is called.

    Have tried variations on

    $wp_customize->remove_section('tribe_customize');

    but no dice.

    What’s the correct slug for this?

    • This topic was modified 4 years, 1 month ago by zactoff.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support WilloftheD

    (@abzlevelup)

    Hello Zac,

    Thanks for reaching out to us. Let me ask the team if we have a workaround for this, although I tried it as well — and placed it on a function then add_action it didn’t work.

    Let me get back to you, as soon as I hear from them.

    Best,
    Abz

    Plugin Support WilloftheD

    (@abzlevelup)

    Hello Zac,

    I heard back from one of our developers, there’s a workaround for it, but this would be removed when we release plugin updates. This is the only workaround we have for now.

    You could remove this line of code tribe_register_provider( Customizer\Service_Provider::class ); in this file https://github.com/the-events-calendar/the-events-calendar/blob/master/src/Tribe/Views/V2/Service_Provider.php#L46.

    Let me know how it goes, and how would you like to proceed.

    Best,
    Abz

    Thread Starter zactoff

    (@zactoff)

    Hi Abz,
    
    That works, thank you, but obviously it's no good as a long term solution.
    
    Can your devs can provide a mechanism for removing this, either via the theme functions.php file, or better yet in the plugin Settings, in a future update?
    
    Many thanks for your help so far :)
    
    Zac
    • This reply was modified 4 years, 1 month ago by zactoff.
    Plugin Support WilloftheD

    (@abzlevelup)

    Hi Zac,

    Thanks for letting me know, it is not ideal, but for now it is the only workaround we have. Yes, we already noted this. But it would be good if you could add it as a feature request as well here: https://evnt.is/ideas — this would help us track users needing this feature.

    Let us know if you require more help with other topics, we would appreciate creating another ticket, it would help us track these tickets efficiently.

    Have a great day, Zac.

    Cheers,
    Abz

    Thread Starter zactoff

    (@zactoff)

    Request added, and duly noted for any future feature requests.

    Many thanks,

    Zac

    Plugin Support WilloftheD

    (@abzlevelup)

    Hi @zactoff,

    Thanks for getting back to us and for creating the feature request for this one.

    No worries! Please do not hesitate to create another ticket for a different topic or issue.

    Have a great day.

    Best,
    Abz

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Remove menu from customizer’ is closed to new replies.