redeclare woocommerce support
This commit is contained in:
parent
e9b8b037a8
commit
1692e21d0c
|
@ -4,12 +4,12 @@
|
||||||
*
|
*
|
||||||
* @package understrap
|
* @package understrap
|
||||||
*/
|
*/
|
||||||
add_action( 'after_setup_theme', 'understrap_woocommerce_support' );
|
add_action( 'after_setup_theme', 'woocommerce_support' );
|
||||||
if ( ! function_exists( 'understrap_woocommerce_support' ) ) {
|
if ( ! function_exists( 'woocommerce_support' ) ) {
|
||||||
/**
|
/**
|
||||||
* Declares WooCommerce theme support.
|
* Declares WooCommerce theme support.
|
||||||
*/
|
*/
|
||||||
function understrap_woocommerce_support() {
|
function woocommerce_support() {
|
||||||
add_theme_support( 'understrap' );
|
add_theme_support( 'understrap' );
|
||||||
|
|
||||||
// Add New Woocommerce 3.0.0 Product Gallery support
|
// Add New Woocommerce 3.0.0 Product Gallery support
|
||||||
|
|
Reference in New Issue