' . esc_html( $summary ) . ''; if ( $summary !== $error ) { $html .= '
' . esc_html__( 'View details', 'ai-support-assistant' ) . '
' . esc_html( $error ) . '
'; } return $html; } /** * Render unified header across all admin pages. * * @param string $current_page Current page slug. * @param string $title Page title. * @param string $subtitle Page subtitle. * @return void */ public static function render_header( string $current_page, string $title, string $subtitle ): void { ?>