| @@ -48,8 +48,17 @@ | ||
| 48 | 48 | return false; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | + * Is the Hub API key available? | |
| 53 | + * | |
| 54 | + * @return bool | |
| 55 | + */ | |
| 56 | + public function is_apikey_available(): bool { | |
| 57 | + return false !== $this->get_apikey(); | |
| 58 | + } | |
| 59 | + | |
| 60 | + /** | |
| 52 | 61 | * Check if whitelabel is enabled. |
| 53 | 62 | * |
| 54 | 63 | * @since 2.5.5 Use Whitelabel filters instead of calling the whitelabel functions directly. |
| 55 | 64 | * @return bool |
| @@ -66,17 +75,8 @@ | ||
| 66 | 75 | * @return bool |
| 67 | 76 | * @since 4.1.0 |
| 68 | 77 | */ |
| 69 | 78 | public function hide_wpmu_dev_urls(): bool { |
| 70 | - return false; | |
| 71 | - } | |
| 72 | - | |
| 73 | - /** | |
| 74 | - * Check if WPMUDEV Dashboard remote access is enabled. | |
| 75 | - * | |
| 76 | - * @return bool | |
| 77 | - */ | |
| 78 | - public function is_remote_access_enabled(): bool { | |
| 79 | 79 | return false; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |