Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WooCommerce - declare WooCommerce support in theme
add_action( 'after_setup_theme', 'woocommerce_support' );
function woocommerce_support() {
add_theme_support( 'woocommerce' );
Copy link

DenisKolodin commented Jan 31, 2017

Example isn't completed. There isn't <?php ... ?> enclosing block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment