'meta_pixel_id', 'wiz_meta_token' => 'meta_capi_token', 'wiz_gads_id' => 'google_ads_conversion_id', 'wiz_gads_label' => 'google_ads_label', ]; foreach ($fields as $field => $option) { if (isset($_POST[$field])) { Options::set($option, sanitize_text_field(wp_unslash($_POST[$field]))); } } if ($isProActive) { if (isset($_POST['wiz_snap'])) { Options::set('snapchat_pixel_id', sanitize_text_field(wp_unslash($_POST['wiz_snap']))); } if (isset($_POST['wiz_tiktok'])) { Options::set('tiktok_pixel_id', sanitize_text_field(wp_unslash($_POST['wiz_tiktok']))); } } } elseif ($prevStep === 3) { Options::set('gcm_v2_enabled', !empty($_POST['wiz_gcm'])); Options::set('banner_enabled', !empty($_POST['wiz_banner'])); Options::set('banner_reopen_button', !empty($_POST['wiz_reopen'])); } } // phpcs:ignore WordPress.Security.NonceVerification.Recommended $step = isset($_GET['step']) ? max(1, min(4, absint(wp_unslash($_GET['step'])))) : 1; $registry = new RecipeRegistry(); $recipes = $registry->getRecipes(); $isProActive = class_exists('\WPZaraz\Licensing\LicenseManager') && \WPZaraz\Licensing\LicenseManager::isPro(); ?>

1 ? '✓' : '1'; ?>
2 ? '✓' : '2'; ?>
3 ? '✓' : '3'; ?>
4