Created
December 19, 2018 18:30
-
-
Save WillBrubaker/e03c44991483e50b6a79381999ed634f to your computer and use it in GitHub Desktop.
WooCommerce default variation manage stock checked
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
//not sure what to do with this code snippet? See https://www.thathandsomebeardedguy.com/what-do-i-do-with-these-code-snippets/ | |
if ( is_admin() ) { | |
add_filter( 'woocommerce_product_variation_get_manage_stock', '__return_true' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment