get_scan_schedule();
aacb_render_overview_hero($extras_hero, array(
'has_agentic' => $has_agentic,
'fixes_url' => isset($extras_hero['fixes_url']) ? $extras_hero['fixes_url'] : admin_url('admin.php?page=aacb-agentic-fixes'),
'issues_anchor' => '#aacb-overview-issues',
// "View pages" → the native WordPress Pages list (stays in
// WP, no app bounce).
'pages_url' => admin_url('edit.php?post_type=page'),
'schedule' => is_wp_error($aacb_schedule) ? null : $aacb_schedule,
));
?>
'danger', 'serious' => 'warn',
'moderate' => 'primary', 'minor' => 'ok',
);
$key = strtolower((string) $s);
return isset($map[$key]) ? $map[$key] : 'primary';
};
$status_label = static function ($st) {
$map = array(
'ai_resolved' => __('AI Resolved', 'allaccessible'),
'manual_required' => __('Manual', 'allaccessible'),
'completed' => __('Completed', 'allaccessible'),
'reopened' => __('Reopened', 'allaccessible'),
'ignored' => __('Ignored', 'allaccessible'),
);
return isset($map[$st])
? $map[$st]
: ucfirst(str_replace('_', ' ', (string) $st));
};
?>
' . implode(', ', $limit_names) . ''
);
?>