id, 'activelayer' ) === false ) { return; } if ( SettingsHelper::has_api_key() || AdminStatus::active() ) { return; } // Hide when the onboarding banner is visible to avoid redundant prompts. if ( ! get_option( 'activelayer_onboarding_dismissed' ) && ! get_option( 'activelayer_onboarding_completed' ) ) { return; } $settings_url = admin_url( 'admin.php?page=' . self::SETTINGS_PAGE_SLUG ); $register_url = ( new ConnectFlow() )->start( 'connection_bar', 'create_account' ); ?>