Created
March 4, 2015 11:30
-
-
Save woogist/366ce5c46f19634e645f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Allows to duplicate products with the capability edit_products | |
*/ | |
add_filter( 'woocommerce_duplicate_product_capability', create_function( '', 'return "edit_products";' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment