bind_anti_eav_hooks(); } /** Adapter slug (matches wp.org plugin slug). */ public function plugin_slug(): string { return 'hivepress-bookings'; } /** Class probed for addon presence. */ public function detection_class(): string { return 'HivePress\\Bookings\\Plugin'; } /** Version constant probed for addon presence. */ public function detection_const(): string { return 'HIVEPRESS_BOOKINGS_VERSION'; } /** Minimum addon version supported. */ public function minimum_addon_version(): string { return '1.0.0'; } /** * 8-D self-score. * * D8 (perf) reduced to 0.9 because the schema is best-effort from * documentation; once the addon is installed and EXPLAIN can verify * index usage, raise to 1.0. */ public function suitability_score(): array { return $this->compose_score( array( 'd8_perf' => 0.9, ) ); } } } // end if ( ! class_exists )