• Resolved mastmast

    (@mastmast)


    Hi,

    Is this possible to override this function in my functions.php?

    function add_wc_cancel_my_account_orders_status($actions, $order){

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Vikram S.

    (@jodhavishalsingh)

    Hi, yes you can override that by using the same filter in functions.php file.
    your function should be like this..

    add_filter('woocommerce_my_account_my_orders_actions','your_function_name', 999, 2);
    function your_function_name($actions, $order){
       //Your Code Here
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Ovveride function’ is closed to new replies.