diff --git a/content-warning-v3.php b/content-warning-v3.php index 4d9addc..981fe31 100644 --- a/content-warning-v3.php +++ b/content-warning-v3.php @@ -11,7 +11,9 @@ require_once dirname( __FILE__ ) . '/inc/api.php'; if ( is_admin() ){ require_once dirname( __FILE__ ) . '/inc/options.inc.php'; - require_once dirname( __FILE__ ) . '/lib/jw_simple_options/simple_options.php'; + if( ! class_exists( 'JW_SIMPLE_OPTIONS' ) ){ + require_once dirname( __FILE__ ) . '/lib/jw_simple_options/simple_options.php'; + } require_once dirname( __FILE__ ) . '/class/admin.class.php'; $cwv3_options = new JW_SIMPLE_OPTIONS( $cwv3_op_data );