diff --git a/includes/Solutions.php b/includes/Solutions.php index 9bc8657..5ce58a5 100644 --- a/includes/Solutions.php +++ b/includes/Solutions.php @@ -94,13 +94,12 @@ public function init_entitilements_apis(): void { * @return array */ public static function add_my_plugins_and_tools_tab( array $tabs ) { - // $hiive = new HiiveConnection(); - // $api = new EntitlementsApi( $hiive ); - // $entitlements = $api->get_items(); - // if ( $entitlements->data->entitlements ) { + $hiive = new HiiveConnection(); + $api = new EntitlementsApi( $hiive ); + $entitlements = $api->get_items(); + if ( $entitlements->data->entitlements ) { $tabs['nfd_my_plugins_and_tools'] = __( 'My Plugins & Tools', 'wp-module-solutions' ); - - // } + } return $tabs; }