Merge pull request #3730 from lucanos/master
Added "Demo Store" Class to Body
This commit is contained in:
commit
b147146339
|
@ -174,6 +174,10 @@ function wc_body_class( $classes ) {
|
||||||
$classes[] = 'woocommerce-page';
|
$classes[] = 'woocommerce-page';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( get_option( 'woocommerce_demo_store' ) != 'no' ) {
|
||||||
|
$classes[] = 'woocommerce-demo-store';
|
||||||
|
}
|
||||||
|
|
||||||
return array_unique( $classes );
|
return array_unique( $classes );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue