How to remove_filter from WooCommerce bookings plugin
-
Hi, I am trying to remove a filter added by woocommerce bookings plugin. In order to do the same, I need an instance of the “WC_Booking_Cart_Manager()” class. In order to get this, I have tried using the “$GLOBALS[‘wc_bookings’]” variable set by the plugin as “$GLOBALS[‘wc_bookings’] = WC_Bookings::instance();”
However, I am unable to access the instance of ‘WC_Booking_Cart_Manager’ via the $GLOBALS array variable.
Please help me out with the same.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to remove_filter from WooCommerce bookings plugin’ is closed to new replies.