I am creating woocommerce plugin and I have a custom order status “wc-shipped”. I want to execute some plugin options for this custom order status only. Here is my code I want if “wc-shipped” status exist then show these plugin options but I am getting below error. How to fix this ? Answer Your hooked function has 2 variables (arguments),