Skip to content

WC Invoice Plugin FIlters

Stuart Duff edited this page May 8, 2020 · 1 revision

This page lists the filters within WooCommerce Invoice Gateway.

To add Pay and Cancel buttons to the My Account > Orders page of WooCommerce for Pending Payments you can use this filter below.

remove_filter( 'woocommerce_my_account_my_orders_actions', array( WC_Invoice_Gateway(), 'remove_wc_invoice_gateway_order_actions_buttons' ), 10, 2 );

Clone this wiki locally