Access Child Class of Plugin Main Class Instance
If you want to get a hold of the WC_Freshdesk instance without re-instantiating it then call: $integrations = WC()->integrations->get_integrations(); remove_action(‘woocommerce_view_order’, array($inegrations[‘wc-freshdesk’], view_order_create_ticket’), 40 ); Note: I’m just guessing the key of wc-freskdesk, inspect the array otherwise The call to WC()->integrations->get_integrations() returns all the integrations that were instantiated early in the woocommerce init process, you can … Read more