profile = $profile; $this->nonceAction = $nonceAction; $this->nonceField = $nonceField; $this->websiteConfig = $websiteConfig; $this->isConnected = $isConnected; } public function render(): void { ?>

isConnected ? __( 'Your license is active and connected to Content AI.', '1platform-content-ai' ) : __( 'Your license is active but the connection could not be verified.', '1platform-content-ai' ) ); ?>

renderLicenseStatus(); ?> renderUserInfo(); ?>
renderActions(); ?>
profile['status'] ?? '' ) === 'active'; ?>
isConnected ? __( 'Connected', '1platform-content-ai' ) : __( 'Disconnected', '1platform-content-ai' ) ); ?>

profile['userId'] ?? '-' ); ?>

profile['username'] ?? '-' ); ?>

websiteConfig && ! empty( $this->websiteConfig['websiteId'] ); ?>
nonceAction, $this->nonceField ); ?>

nonceAction, $this->nonceField ); ?>