• Resolved CodeMyWP

    (@codemywp)


    Hi,

    I need to use hook ‘woo_wallet_partial_order_refunded’ which is defined incorrectly on the plugin. It is defined as add_action whereas it should be do_action.

    Technical Information:
    File: woo-wallet/includes/class-woo-wallet-ajax.php
    Line no.: 173

    Currently:
    add_action('woo_wallet_partial_order_refunded', $order_id, $transaction_id);
    Needs to be:
    do_action('woo_wallet_partial_order_refunded', $order_id, $transaction_id);

    Need it ASAP on Update.

    Also, I will be happy to contribute for your plugin on GitHub. Thanks!

    Sanchit Varshney
    Founder: CodeMyWP

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Action is not defined correctly’ is closed to new replies.