bind_anti_eav_hooks(); } /** Adapter slug (matches wp.org plugin slug). */ public function plugin_slug(): string { return 'hivepress-marketplace'; } /** Class probed for addon presence. */ public function detection_class(): string { return 'HivePress\\Marketplace\\Plugin'; } /** Version constant probed for addon presence. */ public function detection_const(): string { return 'HIVEPRESS_MARKETPLACE_VERSION'; } /** Minimum addon version supported. */ public function minimum_addon_version(): string { return '1.0.0'; } /** * 8-D self-score. * * D8 reduced to 0.9 — index assumption is best-effort until addon installs. */ public function suitability_score(): array { return $this->compose_score( array( 'd8_perf' => 0.9, ) ); } } } // end if ( ! class_exists )