Remove action from woocommerce barcode plugin [closed]
You need to access the class variable to remove a action which has been added within a class function remove_default_order_barcode(){ global $WooCommerce_Order_Barcodes ; remove_action( ‘woocommerce_order_details_after_order_table’, array( $WooCommerce_Order_Barcodes, ‘get_display_barcode’ ), 1, 1 ); } add_action(‘init’,’remove_default_order_barcode’); hope it will help you !