Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
home
/
ophq1335
/
www
/
wp-content
/
plugins
/
wp-seopress
/
src
/
Thirds
/
WooCommerce
/
/home/ophq1335/www/wp-content/plugins/wp-seopress/src/Thirds/WooCommerce/WooCommerceActivate.php
<?php // phpcs:ignore namespace SEOPress\Thirds\WooCommerce; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * WooCommerce Activate */ class WooCommerceActivate { /** * WooCommerce is active ? * * @return bool */ public function isActive() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid if ( ! function_exists( 'is_plugin_active' ) ) { include_once ABSPATH . 'wp-admin/includes/plugin.php'; } if ( ! is_plugin_active( 'woocommerce/woocommerce.php' ) ) { return false; } return true; } }