redeclare woocommerce support

This commit is contained in:
Holger Könemann 2017-11-29 10:42:52 +01:00
parent e9b8b037a8
commit 1692e21d0c
1 changed files with 3 additions and 3 deletions

View File

@ -4,12 +4,12 @@
*
* @package understrap
*/
add_action( 'after_setup_theme', 'understrap_woocommerce_support' );
if ( ! function_exists( 'understrap_woocommerce_support' ) ) {
add_action( 'after_setup_theme', 'woocommerce_support' );
if ( ! function_exists( 'woocommerce_support' ) ) {
/**
* Declares WooCommerce theme support.
*/
function understrap_woocommerce_support() {
function woocommerce_support() {
add_theme_support( 'understrap' );
// Add New Woocommerce 3.0.0 Product Gallery support