We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.
Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › I need to remove an action
I need to remove an action – it’s this one:
add_action( ‘end_wcfm_products_manage’, array( &$this, ‘wcb_wcfm_products_manage_form_load_views’ ), 20 );
But, it does not work with the standard remove_action, obviously because it’s inside a class. How can I remove this hook?
Use following snippet-
remove_action( 'end_wcfm_products_manage', array( $WCFM->wcfm_wcbooking, 'wcb_wcfm_products_manage_form_load_views' ), 20 );