Prevent double loading

This commit is contained in:
Cooper Dalrymple
2026-06-09 17:34:39 -05:00
parent 47ca0903b1
commit e0ef6dd34d
+4
View File
@@ -41,6 +41,8 @@ defined('ABSPATH') || exit;
require_once 'vendor/autoload.php';
if (!class_exists('Ogre\Captcha')) {
final class Captcha extends Plugin {
public static function is_woocommerce_active():bool {
@@ -121,3 +123,5 @@ final class Captcha extends Plugin {
}
Captcha::instance();
}