0) { $this->render_suggestion_detail($current_suggestion); } else { $this->render_suggestions_interface(); } return ob_get_clean(); } private function render_suggestion_detail($suggestion_id) { $suggestion = PC_Community_Suggestions_Database::get_suggestion_by_id($suggestion_id); $comments = $suggestion ? PC_Community_Suggestions_Database::get_comments($suggestion_id) : array(); if (!$suggestion) { echo '
' . esc_html__('Suggestion not found.', 'pc-community-suggestions-7d3f') . '
'; echo '' . esc_html__('Back to Suggestions', 'pc-community-suggestions-7d3f') . ''; echo '