Skip to content

Instantly share code, notes, and snippets.

@rynaldos-zz
Created August 3, 2017 10:34
Show Gist options
  • Select an option

  • Save rynaldos-zz/3ad2435a83d178ea8eb5c158c887f670 to your computer and use it in GitHub Desktop.

Select an option

Save rynaldos-zz/3ad2435a83d178ea8eb5c158c887f670 to your computer and use it in GitHub Desktop.
[WooCommerce 3.0+] remove product links from order review page
add_filter( 'woocommerce_order_item_permalink', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment