return false; } //is ext is system one public static function is_ext_system($full_path) { $ext_info = WOOF_HELPER::parse_ext_data($full_path . DIRECTORY_SEPARATOR . 'info.dat'); if (is_array($ext_info) && isset($ext_info['system'])) { return true; } return false; } //new from v.3.3.4 public static function is_ext_a($key) { //by key is ext activated is_ext_a('front_builder') return self::is_ext_activated(WOOF_PATH . 'ext' . DIRECTORY_SEPARATOR . $key); } //new from v.2.1.6 public static function get_ext_idx($full_path) { return md5(str_replace(ABSPATH, '', $full_path)); } public static function get_ext_idx_new($full_path) { $path = substr($full_path, strlen(WP_CONTENT_DIR)); if (!$path) { return md5(str_replace(ABSPATH, '', $full_path)); } $path_str = preg_replace("@[/\\\]@", "", $path); return md5($path_str); } abstract public function init(); abstract public function get_ext_path(); //must be overridden in exts public function get_ext_override_path() { return ''; } abstract public function get_ext_link(); }
Fatal error: Uncaught Error: Class "WOOF_EXT" not found in /htdocs/wp-content/plugins/woocommerce-products-filter/index.php:3265 Stack trace: #0 /htdocs/wp-content/plugins/woocommerce-products-filter/index.php(113): WOOF->init_extensions() #1 /htdocs/wp-content/plugins/woocommerce-products-filter/index.php(4035): WOOF->__construct() #2 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #3 /htdocs/wp-config.php(82): require_once('/htdocs/wp-sett...') #4 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #5 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #6 /htdocs/index.php(17): require('/htdocs/wp-blog...') #7 {main} thrown in /htdocs/wp-content/plugins/woocommerce-products-filter/index.php on line 3265