0

<?php
if ( class_exists( 'WooCommerce' ) ) {
  // code that requires WooCommerce
} else {
  // you don't appear to have WooCommerce activated
}
?>

Jagdish Sarma Asked question April 1, 2023
Add a Comment