get_membership_data(); $key = \WPMUDEV_Dashboard::$api->get_key(); if ( ! empty( $membership_status['hub_site_id'] ) && ! empty( $key ) ) { return $key; } return false; } /** * @since 2.5.5 Use Whitelabel filters instead of calling the whitelabel functions directly. * @return bool */ public function is_whitelabel_enabled() { return false; } /** * Hide WPMU DEV urls for the current user if: * 1) Whitelabel option is enabled, * 2) the user is not listed in WPMU DEV > Settings > Permissions. * * @return bool * @since 4.1.0 */ public function hide_wpmu_dev_urls(): bool { return false; } /** * Show support links if: * plugin version isn't Free, * Whitelabel is disabled. * * @return bool * @since 2.5.5 */ public function show_support_links() { return false; } }