| @@ -82,29 +82,8 @@ | ||
| 82 | 82 | 'team-directory', |
| 83 | 83 | 'product-review', |
| 84 | 84 | 'real-estate-listings', |
| 85 | 85 | 'business-directory', |
| 86 | - 'artist-gallery', | |
| 87 | - 'classifieds', | |
| 88 | - 'community-event-calendar', | |
| 89 | - 'company-timeline', | |
| 90 | - 'crowdfunding', | |
| 91 | - 'job-board', | |
| 92 | - 'logo-cloud', | |
| 93 | - 'multi-property-booking-system', | |
| 94 | - 'wedding-venue-booking', | |
| 95 | - 'permission-slip', | |
| 96 | - 'property-directory', | |
| 97 | - 'radio-station', | |
| 98 | - 'recipe', | |
| 99 | - 'rsvp-invite', | |
| 100 | - 'searchable-directory', | |
| 101 | - 'shopping-cart', | |
| 102 | - 'sports-league-calendar', | |
| 103 | - 'staff-directory', | |
| 104 | - 'tiered-pricing', | |
| 105 | - 'trip-itinerary', | |
| 106 | - 'twitterx', | |
| 107 | 86 | ); |
| 108 | 87 | } |
| 109 | 88 | |
| 110 | 89 | /** |
| @@ -151,9 +130,9 @@ | ||
| 151 | 130 | /** |
| 152 | 131 | * @return array<string> |
| 153 | 132 | */ |
| 154 | 133 | public static function get_categories() { |
| 155 | - return self::$categories ?? array(); | |
| 134 | + return isset( self::$categories ) ? self::$categories : array(); | |
| 156 | 135 | } |
| 157 | 136 | |
| 158 | 137 | /** |
| 159 | 138 | * @return array |