diff --git a/includes/class-dokan-privacy.php b/includes/class-dokan-privacy.php index 32b04fc213..0a5f1c985a 100644 --- a/includes/class-dokan-privacy.php +++ b/includes/class-dokan-privacy.php @@ -8,6 +8,10 @@ defined( 'ABSPATH' ) || exit; +if ( ! class_exists( 'WC_Abstract_Privacy' ) ) { + return; +} + /** * Dokan_Privacy Class. */