Remove Events Cal Panel

Home Forums Calendar Products Events Calendar PRO Remove Events Cal Panel

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1427492
    Andrew Peters
    Participant

    I would like to remove the events calendar panel from customizer on the front end. Presently I’m using this snippet:

    //Remove events panel from customizer
    function events_panel() {
    global $wp_customize;
    $wp_customize->remove_panel( 'tribe_customizer' );
    }

    add_action( 'customize_register', 'events_panel', 11 );

    Am I getting the ID wrong? I found the ID using inspector on chrome. This snippet worked for other panels and sections but I can’t get it to work with TEC.

    #1429093
    Victor
    Keymaster

    Hey Andrew!

    Thanks for reaching out to us! Let me try to help you with this topic.

    Try running the function a bit later by using the code like this:

    add_action( 'customize_register', 'events_panel', 16 );

    Let me know if that works for you.

    Best,
    Victor

    #1447824
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove Events Cal Panel’ is closed to new replies.