Skip to content

Instantly share code, notes, and snippets.

@thesadoo
Created April 4, 2021 02:06
Show Gist options
  • Save thesadoo/23d428dee85cdb5590c588951aeedc81 to your computer and use it in GitHub Desktop.
Save thesadoo/23d428dee85cdb5590c588951aeedc81 to your computer and use it in GitHub Desktop.
in #woocommerce if you wanna get rid of the pay (or cancel/view) action link in orders page you can use this simple tiny piece of code that filters the action link items for an order in user account's orders page. Mind that this practice doesn't stop order pay link stop working, it merely stops them from showing in user profile page orders list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment