Remove action within a class in a parent theme from the child theme
To remove an action or filter, the function/method name and the priority must match with the previously added action/filter. The action you want to remove is added with a priority of 10 (default value) while you are trying to remove the action with priority of 99. Try this: remove_action( ‘woocommerce_product_options_inventory_product_data’, array( ‘Electro_WC_Helper’, ‘product_options_inventory_product_data’ ) ); … Read more