'hp_sort_order', 'type' => 'integer', 'searchable' => true, 'label' => 'HivePress term sort order (used by listing facets)', ), array( 'key' => 'hp_default', 'type' => 'enum', 'options' => array( '0', '1' ), 'searchable' => true, 'label' => 'HivePress default flag (1 = is the default term)', ), array( 'key' => 'hp_icon', 'type' => 'text', 'label' => 'HivePress term icon class (e.g. fa-star)', ), ) ); } /** * HivePress comment review meta (review type comments left on hp_listing). * * Currently single-key; deliberately register as its own group so future * review-related keys (hp_review_*, hp_review_visibility, etc.) can be * added without splitting the schema. * * @return void */ private static function register_comment_hp_review_group(): void { TMDO_Entity_Registry::register_group( 'comment', 'hp_review', array( array( 'key' => 'hp_rating', 'type' => 'integer', 'searchable' => true, 'label' => 'HivePress 1-5 star rating attached to a review comment', ), ) ); } }