render_header(
__('Advanced Features', 'answerrails'),
__('The trust layer — citations, honest answers, health visibility — is included here. AnswerRails Pro, a separate plugin, adds the leverage layer: wider grounding, business intelligence, capture, and human escalation.', 'answerrails')
);
// Show any settings errors/updates (sections rendered here save through
// the standard section-save flow).
settings_errors();
// E11 (#174): a registered consumer renders the real settings sections
// here — context {page:'advanced'} stable (the S2-fix escalations
// consumer's shape). With nothing hooked the buffer stays empty and the
// About AnswerRails Pro content renders instead.
ob_start();
foreach (array('structured-outputs', 'business-intelligence', 'moderation-controls', 'escalations') as $ar_section) {
do_action('answerrails_settings_sections', array(
'page' => 'advanced',
'section' => $ar_section,
));
}
$ar_pro_sections = trim((string) ob_get_clean());
?>
__('Catalogue & web grounding', 'answerrails'),
'text' => __('WooCommerce products and external URLs become knowledge sources — the assistant answers from your catalogue and pages beyond this site.', 'answerrails'),
),
array(
'label' => __('Business Intelligence', 'answerrails'),
'text' => __('A dedicated workspace with conversation analytics, answer-quality distribution, and knowledge-gap mining.', 'answerrails'),
),
array(
'label' => __('Ideas ledger', 'answerrails'),
'text' => __('Feature requests, service gaps and feedback are captured from real conversations into a reviewable ledger.', 'answerrails'),
),
array(
'label' => __('Lead capture', 'answerrails'),
'text' => __('Concrete buying intent is flagged and emailed to your team with the transcript, and logged alongside your ideas.', 'answerrails'),
),
array(
'label' => __('Escalation workflows', 'answerrails'),
'text' => __('Human handoff on your terms: trigger phrases, visitor contact capture, and alerts to your inbox.', 'answerrails'),
),
array(
'label' => __('Grounding control surface', 'answerrails'),
'text' => __('An adjustable grounding-depth dial and prompt-policy controls for tuning how the assistant uses your knowledge.', 'answerrails'),
),
);
foreach ($ar_pro_features as $ar_feature): ?>
-
—
get_upgrade_url()
: 'https://answerrails.com/pricing';
?>
render_footer();