' . esc_html(__('AI Policies have been saved.', 'ai-webmaster-studio')) . ' ' . esc_html(__('AI Webmaster Studio will use these rules as the central decision layer.', 'ai-webmaster-studio')) . '
';
}
$settings = AIWEST_Policy::get_settings();
$profiles = AIWEST_Policy::profiles();
$modules = AIWEST_Policy::modules();
$groups = AIWEST_Policy::groups();
$decisions = AIWEST_Policy::decisions();
$scales = AIWEST_Policy::change_scales();
$current_profile = $settings['profile'];
$image_policy = $settings['image_policy'];
$protected = [];
foreach (['header', 'footer', 'menu', 'system_pages'] as $key) {
if (AIWEST_Policy::is_protected($key, $settings)) {
$protected[] = AIWEST_Policy::label($modules[$key] ?? ['label' => $key]);
}
}
?>