Remove Events Calendar Pro widget with plugin

Home Forums Welcome! Pre-Sales Questions Remove Events Calendar Pro widget with plugin

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1134752
    Ratnesh Choudhary
    Guest

    I Want to remove This week events widget and Events Countdown Permanently . So for this I am Creating a plugin because if I will edit in your plugin my Changes will be remove after update of your plugin. I am using the following code please have a look at it

    function my_unregister_widgets() {
    unregister_widget(‘Tribe__Events__Pro__This_Week_Widget’);
    unregister_widget(‘Tribe__Events__Pro__Countdown_Widget’);
    }
    add_action( ‘widgets_init’, ‘my_unregister_widgets’, 90 );
    remove_action( ‘widgets_init’, array( Tribe__Events__Pro__Main::instance(), ‘pro_widgets_init’ ), 100 );

    but It will give me an error Class ‘Tribe__Events__Pro__Main’ not found
    So can you help me in removing this widget

    #1135063
    Brian
    Member

    Hi,

    Thanks for using the Events Calendar.

    Here on the pre-sales forum, I’m afraid we do not provide technical support. I would ask that you take any technical support questions across to our wordpress.org forum – our staff scan it periodically and other community members may also be able to help out.

    The Events Calendar

    If you have purchased a plugin from us, please login and post in the premium forums for that plugin and we can help you out there:

    https://theeventscalendar.com/support/forums/

    Thanks again!

    #1141517
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove Events Calendar Pro widget with plugin’ is closed to new replies.