';
// Section header
echo '
';
echo ' ';
echo esc_html__( 'Advanced Security Features', 'ai-cyberguard' );
echo ' ๐ PRO';
echo '
';
echo '
';
echo esc_html__( 'Unlock powerful security features with AI CyberGuard PRO', 'ai-cyberguard' );
echo '
';
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// ACG-149-154 (owner, 2026-07-27): the list was TEN hardcoded cards, each its own method, while the
// actual PRO product has far more. The owner supplied the real list, so the page now renders it in
// full โ but as DATA plus one renderer, not 43 more methods. Adding a feature is one row.
//
// Two sections, exactly as the owner framed them: the EXCLUSIVE capabilities first (the reason to
// choose this product over another), then everything else PRO includes. Every entry is his wording;
// nothing here was invented, because a feature list is a promise and inventing one is how a plugin
// earns a refund request.
// ACG-149-R36-J (pre-release audit 2026-07-27): the count was hardcoded as "14" beside a list
// that is now DATA. It happened to be right, and it would have gone silently wrong the first
// time a row was added or removed โ which is exactly what is about to happen while the PRO list
// is being edited. Derived from the array, so the heading cannot disagree with the cards below it.
// ACG-149-R37-J: count the rows that will actually RENDER, not the rows in the array. The
// renderer skips malformed rows (`count( $f ) < 3`), so a row written with two fields โ an easy
// slip while editing a 43-row list, which this list is expected to keep getting โ produced a
// heading saying "15 Exclusive Features" above 14 cards. R36-J's claim that the heading "cannot
// disagree with the cards below it" was false by construction; one shared filter makes it true.
$gp_excl = self::renderable( self::exclusive_features() );
self::render_feature_section(
sprintf(
/* translators: %d is the number of PRO-exclusive features listed in this section. */
_n(
'%d Exclusive Feature โ Only in AI CyberGuard',
'%d Exclusive Features โ Only in AI CyberGuard',
count( $gp_excl ),
'ai-cyberguard'
),
count( $gp_excl )
),
__( 'Next-generation capabilities you won\'t find in any other WordPress security plugin. This is what sets AI CyberGuard PRO apart.', 'ai-cyberguard' ),
$gp_excl,
true
);
self::render_feature_section(
__( 'Everything else included in PRO', 'ai-cyberguard' ),
__( 'A complete prevention, detection, monitoring and recovery toolkit โ all in one platform.', 'ai-cyberguard' ),
self::renderable( self::included_features() ),
false
);
// The list is representative, not exhaustive โ say so rather than implying it is complete.
echo '
';
echo esc_html__( 'โฆand more. PRO keeps gaining features โ this list is not exhaustive.', 'ai-cyberguard' );
echo '
';
// Quick stats for PRO users
if ( $is_pro ) {
self::render_pro_stats();
}
echo '
'; // .gp-pro-features-section
// Render upgrade modal (only for FREE users)
GuardPress_Pro_UI_Helper::render_upgrade_modal();
}
/**
* ACG-149-154 โ the EXCLUSIVE capabilities. Owner-supplied wording, verbatim.
* Adding a feature is one row: array( emoji, title, description, already_in_free ).
*
* โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
* ACG-149-R36-L (pre-release audit 2026-07-27, owner decision) โ THE FOURTH FIELD.
*
* Two independent audit agents found the same thing: this page advertised as PRO a long list of
* capabilities FREE ALREADY SHIPS โ and three of them under the heading "Only in AI CyberGuard",
* including the Live Attack Map that this very page renders in FREE a couple of dozen lines above.
* A customer who reads "Exclusive โ only in PRO" next to a feature they are already using does not
* conclude they got a bargain; they conclude the plugin is lying to them, and that is a one-star
* review and a refund request.
*
* The ten hardcoded cards this list replaced were worded precisely to avoid it ("Upgrade the
* firewall ALREADY IN FREE", "BEYOND FREE Safety Snapshots"). The rewrite kept the owner's feature
* list and dropped every qualifier. The owner's decision was to put the qualifiers back per item
* rather than delete the items, so the list stays complete and stops contradicting the product.
*
* RULE FOR THIS FIELD, because getting it wrong creates a NEW false claim in the other direction:
* it states only what FREE has, never what PRO adds beyond the description already written above
* it. Every entry below was checked against the module registry in includes/free-plus/loader.php โ
* a feature with no loaded FREE module gets an empty string, not a guess. Security Headers,
* Honeypots, Login Anomaly, Plugin Risk, Upload Scanner, Blacklist/Uptime, Backups, Compliance,
* Multi-Site and Country BLOCKING have no FREE module and are therefore left blank.
*/
private static function exclusive_features() {
return array(
array( '๐', __( 'Emergency One-Click Recovery', 'ai-cyberguard' ), __( 'Restore your site in one click even when WordPress is down, hacked, inaccessible, or showing a white screen โ with a database-down fallback.', 'ai-cyberguard' ),
__( 'Already in FREE: Safety Snapshots, which you download and restore by hand.', 'ai-cyberguard' ) ),
array( '๐งช', __( 'Safe Restore Sandbox + Own Your Backups', 'ai-cyberguard' ), __( 'Test a restore in an isolated sandbox first, then push live. Keep backups in your own cloud or download full backups to your computer.', 'ai-cyberguard' ), '' ),
array( 'โฐ', __( 'Security Time Machine', 'ai-cyberguard' ), __( 'A full timeline of security-critical file changes with visual diffs and point-in-time rollback โ not just backups.', 'ai-cyberguard' ),
// ACG-149-R37-N: "visual diff" removed โ GuardPress_Visual_Diff has ZERO call sites in
// the whole tree, so FREE does not ship it and neither this card nor readme.txt may say so.
__( 'Already in FREE: file-change detection, with the changed files listed.', 'ai-cyberguard' ) ),
// ACG-149-R37-M: FREE does ship entropy/obfuscation analysis โ GuardPress_Pattern_Detector
// is live, called from the results table on PHP and JS files. Listing this as wholly
// exclusive with no qualifier overstated it.
array( '๐งฌ', __( 'Code DNA Fingerprinting', 'ai-cyberguard' ), __( 'Catch obfuscated, polymorphic and zero-day malware by analyzing code structure, entropy and behavior in PHP and JavaScript.', 'ai-cyberguard' ),
__( 'Already in FREE: entropy and obfuscation analysis of scanned files.', 'ai-cyberguard' ) ),
array( '๐ค', __( 'AI Security Assistant', 'ai-cyberguard' ), __( 'Ask anything in plain language, in any language, right inside your dashboard โ instant answers and guidance tailored to your site.', 'ai-cyberguard' ),
__( 'Already in FREE: the AI Assistant on your dashboard.', 'ai-cyberguard' ) ),
array( '๐ฆ', __( 'Canary Files / Honeytokens', 'ai-cyberguard' ), __( 'Invisible decoy files inspired by advanced deception techniques. The moment one is touched, you know something is wrong.', 'ai-cyberguard' ), '' ),
array( '๐ต๏ธ', __( 'Dark Web / Breach Monitoring', 'ai-cyberguard' ), __( 'Know if your admin credentials appear in known data breaches โ before attackers use leaked passwords against your site.', 'ai-cyberguard' ),
__( 'Already in FREE: a breached-password check when a password is set or reset.', 'ai-cyberguard' ) ),
array( '๐', __( 'Voice Call Alerts', 'ai-cyberguard' ), __( 'A real automated phone call for truly critical incidents, so the most urgent events never get lost in an inbox.', 'ai-cyberguard' ), '' ),
array( '๐ง', __( 'Self-Healing Files', 'ai-cyberguard' ), __( 'Automatically repairs tampered core, plugin and theme files back to a known-clean state from your snapshots.', 'ai-cyberguard' ),
__( 'Already in FREE: Quarantine, to isolate a file and restore it yourself.', 'ai-cyberguard' ) ),
array( '๐ฎ', __( 'Predictive Threat Score', 'ai-cyberguard' ), __( 'AI-driven risk forecasting that flags danger building on your site before it becomes a real incident.', 'ai-cyberguard' ),
__( 'Already in FREE: a live Security Score for your current posture.', 'ai-cyberguard' ) ),
array( '๐บ๏ธ', __( 'Live Attack Map', 'ai-cyberguard' ), __( 'Watch attacks against your site in real time on a live global map โ see where threats come from and how they are blocked.', 'ai-cyberguard' ),
// Verified, not assumed: class-view-scanner.php renders the map at render_live_traffic()
// (line ~160) and this panel at render_pro_features_panel() (line ~184), and this panel
// has exactly one call site โ so "above" is true wherever it appears.
__( 'Already in FREE: the Live Attack Map above on this page.', 'ai-cyberguard' ) ),
array( '๐ฌ', __( 'Attack Replay Analysis', 'ai-cyberguard' ), __( 'Replay exactly how an attack unfolded, step by step, so you understand what happened and how to close the gap.', 'ai-cyberguard' ), '' ),
array( 'โ
', __( 'Change Approval Workflow', 'ai-cyberguard' ), __( 'Nothing security-critical changes without your sign-off โ ideal for agencies and teams managing client sites.', 'ai-cyberguard' ), '' ),
array( '๐', __( 'Weekly AI Security Reports', 'ai-cyberguard' ), __( 'A clear, plain-English security summary written by AI and delivered every week โ no log-digging required.', 'ai-cyberguard' ),
__( 'Already in FREE: a weekly security digest by email.', 'ai-cyberguard' ) ),
);
}
/**
* ACG-149-154 โ everything else PRO includes. Owner-supplied wording, verbatim.
* Fourth field: see the rule documented on exclusive_features().
*/
private static function included_features() {
return array(
array( '๐ก๏ธ', __( 'Web Application Firewall', 'ai-cyberguard' ), __( 'Blocks SQL-injection, XSS and file-inclusion (LFI/RFI) attacks โ with Monitor & Protect modes, smart rules and rate limiting.', 'ai-cyberguard' ),
__( 'Already in FREE: Firewall (Lite), which filters the request URL and query string.', 'ai-cyberguard' ) ),
// ACG-149-R37-M: my round-36 qualifier here said "Already in FREE: the malicious-IP threat
// feed" โ FALSE, and exactly the wrong-direction false claim I said this field must never
// make. includes/free-plus/ip-feed/ contains ZERO wp_remote_* calls: it aggregates the
// site's OWN blocklist weekly. There is no network feed in FREE, signed or otherwise.
array( '๐ก', __( 'Live Malicious-IP Threat Feed', 'ai-cyberguard' ), __( 'Blocks IPs that are attacking the GuardPress network right now โ a signed feed refreshed hourly โ before they ever reach your login.', 'ai-cyberguard' ),
__( 'FREE builds a blocklist from attacks on YOUR site; the network-wide feed is PRO.', 'ai-cyberguard' ) ),
array( '๐ง', __( 'Smart 404 Blocking', 'ai-cyberguard' ), __( 'Automatically detects and bans bots probing for vulnerable paths by spotting floods of suspicious 404s.', 'ai-cyberguard' ), '' ),
array( '๐', __( 'Country Blocking', 'ai-cyberguard' ), __( 'Allow or block traffic by country with a click.', 'ai-cyberguard' ),
__( 'FREE shows you which country a blocked IP came from; blocking by country is PRO.', 'ai-cyberguard' ) ),
array( 'โก', __( 'Real-Time Protection', 'ai-cyberguard' ), __( 'Continuous monitoring and blocking as threats happen.', 'ai-cyberguard' ), '' ),
// ACG-149-R37-M: narrowed. The FREE panel prints its own limit on screen โ "Security events
// only โฆ Full real-time traffic monitoring is in PRO" (livefeed/class-livefeed.php) โ so
// "watch every visitor" was contradicted by the module two clicks away.
array( '๐ก', __( 'Live Traffic Monitor', 'ai-cyberguard' ), __( 'Watch every visitor and request to your site, live.', 'ai-cyberguard' ),
__( 'FREE shows security events live; every visitor and request is PRO.', 'ai-cyberguard' ) ),
array( '๐', __( 'Security Insights Dashboard', 'ai-cyberguard' ), __( 'A shareable front-end page of live charts โ every attack blocked, threat stopped and traffic trend, at its own URL.', 'ai-cyberguard' ),
__( 'Already in FREE: the Security Insights dashboard inside wp-admin.', 'ai-cyberguard' ) ),
array( '๐ซ', __( 'Blacklist Monitoring', 'ai-cyberguard' ), __( 'Checks whether your site or IP appears on security blacklists.', 'ai-cyberguard' ), '' ),
array( '๐', __( 'Uptime Monitoring', 'ai-cyberguard' ), __( 'Know instantly if your site ever goes down, around the clock.', 'ai-cyberguard' ), '' ),
array( '๐', __( 'Two-Factor Authentication', 'ai-cyberguard' ), __( 'Authenticator-app codes plus backup codes for your logins.', 'ai-cyberguard' ),
__( 'Already in FREE: two-factor authentication with backup codes.', 'ai-cyberguard' ) ),
array( '๐ค', __( 'CAPTCHA on Login', 'ai-cyberguard' ), __( 'reCAPTCHA and hCaptcha to stop automated attacks.', 'ai-cyberguard' ),
__( 'Already in FREE: CAPTCHA on the login form.', 'ai-cyberguard' ) ),
array( '๐ช', __( 'Hide Login URL', 'ai-cyberguard' ), __( 'Move wp-login to a secret address to dodge bots.', 'ai-cyberguard' ),
__( 'Already in FREE: Hide Login URL.', 'ai-cyberguard' ) ),
array( '๐๏ธ', __( 'Login Anomaly Intelligence', 'ai-cyberguard' ), __( 'Flags suspicious logins even with a correct password.', 'ai-cyberguard' ), '' ),
// ACG-149-R37-M: this had NO qualifier because my round-36 sweep found no honeypot module.
// It is inside the CAPTCHA module: 'honeypot' is its default provider and it renders a
// hidden decoy field on the login form. Opt-in (Login Protection ships disabled), so the
// wording says "can be enabled" rather than claiming it is already running.
array( '๐ชค', __( 'Hacker Traps (Honeypots)', 'ai-cyberguard' ), __( 'Decoy login and admin traps that catch intruders in the act.', 'ai-cyberguard' ),
__( 'FREE can enable a login honeypot under Login Protection; the admin-wide traps are PRO.', 'ai-cyberguard' ) ),
array( '๐งฐ', __( 'Hardening Wizard', 'ai-cyberguard' ), __( 'Guided one-click hardening of your whole site.', 'ai-cyberguard' ),
__( 'Already in FREE: the Hardening panel.', 'ai-cyberguard' ) ),
array( '๐งฑ', __( 'Security Headers', 'ai-cyberguard' ), __( 'Adds modern HTTP security headers automatically.', 'ai-cyberguard' ), '' ),
// ACG-149-R37-M: corrected. FREE's module reads only get_core_updates() /
// get_plugin_updates() / get_theme_updates() โ it alerts on AVAILABLE UPDATES, which is not
// the same thing as detecting a known vulnerability, and a fully-updated site running a
// plugin with a published unpatched CVE reads clean. A security product must not blur those.
array( '๐ฉน', __( 'Vulnerability Scanner', 'ai-cyberguard' ), __( 'Detects known vulnerabilities in plugins, themes and core.', 'ai-cyberguard' ),
__( 'FREE alerts you when updates are pending; matching against known vulnerabilities is PRO.', 'ai-cyberguard' ) ),
array( '๐งฉ', __( 'Plugin Risk Analysis', 'ai-cyberguard' ), __( 'Spot risky or abandoned plugins before they become a problem.', 'ai-cyberguard' ), '' ),
array( '๐งน', __( 'Quarantine & Auto-Restore', 'ai-cyberguard' ), __( 'Safely isolate suspicious files and restore clean versions.', 'ai-cyberguard' ),
__( 'Already in FREE: Quarantine.', 'ai-cyberguard' ) ),
array( '๐ค', __( 'Upload Scanner & Guard', 'ai-cyberguard' ), __( 'Blocks dangerous uploads at the firewall and scans accepted files for malware before they can do harm.', 'ai-cyberguard' ), '' ),
array( '๐พ', __( 'Smart One-Click Backup & Restore', 'ai-cyberguard' ), __( 'Back up to Google Drive, Dropbox, S3 or your computer โ and restore instantly with one click.', 'ai-cyberguard' ), '' ),
array( '๐ธ', __( 'Clean Snapshots', 'ai-cyberguard' ), __( 'Verified known-good baselines to recover from instantly.', 'ai-cyberguard' ),
__( 'Already in FREE: Safety Snapshots.', 'ai-cyberguard' ) ),
array( '๐ฉบ', __( 'AI Remediation Guidance', 'ai-cyberguard' ), __( 'Step-by-step AI guidance to clean and fix detected threats.', 'ai-cyberguard' ), '' ),
array( '๐', __( 'Multi-Channel Alerts', 'ai-cyberguard' ), __( 'Email, Slack, Telegram, WhatsApp and SMS notifications.', 'ai-cyberguard' ),
__( 'Already in FREE: email alerts.', 'ai-cyberguard' ) ),
array( '๐', __( 'Security Log', 'ai-cyberguard' ), __( 'A complete, searchable record of every security event.', 'ai-cyberguard' ),
__( 'Already in FREE: the Security Event Log.', 'ai-cyberguard' ) ),
array( '๐ฏ', __( 'Security Score & Benchmark', 'ai-cyberguard' ), __( 'A live security posture score, benchmarked against best practices.', 'ai-cyberguard' ),
__( 'Already in FREE: the Security Score.', 'ai-cyberguard' ) ),
array( '๐', __( 'Compliance Manager', 'ai-cyberguard' ), __( 'Reports and audit logs to help evidence your GDPR and PCI-DSS controls.', 'ai-cyberguard' ), '' ),
array( '๐', __( 'Security Gamification', 'ai-cyberguard' ), __( 'Achievements and milestones that make hardening rewarding.', 'ai-cyberguard' ),
__( 'Already in FREE: security streaks and achievement badges.', 'ai-cyberguard' ) ),
array( '๐ข', __( 'Multi-Site Dashboard', 'ai-cyberguard' ), __( 'Manage and monitor many sites from one place.', 'ai-cyberguard' ), '' ),
);
}
/**
* ACG-149-154 โ render one feature section. The single renderer for both tables.
*
* @param string $title section heading
* @param string $intro one-line description under it
* @param array $features list of array( emoji, title, description )
* @param bool $exclusive true = show the "Exclusive" tag and the accent border
*/
/**
* ACG-149-R37-J โ the ONE definition of "a row that will render". Used by the heading count and by
* the renderer, so the two cannot disagree about how many cards there are.
*
* @param array $rows array( emoji, title, description [, already_in_free] )
* @return array
*/
private static function renderable( $rows ) {
$out = array();
foreach ( (array) $rows as $r ) {
if ( is_array( $r ) && count( $r ) >= 3 ) {
$out[] = $r;
}
}
return $out;
}
private static function render_feature_section( $title, $intro, $features, $exclusive ) {
if ( empty( $features ) || ! is_array( $features ) ) {
return;
}
echo '' . esc_html( $intro ) . '
';
echo '';
foreach ( $features as $f ) {
if ( ! is_array( $f ) || count( $f ) < 3 ) {
continue; // a malformed row must not break the page
}
// ACG-149-R36-L: rows written before the fourth field, or with it deliberately empty,
// simply render no qualifier line. count() >= 3 stays the contract.
$already = ( isset( $f[3] ) && is_string( $f[3] ) ) ? trim( $f[3] ) : '';
$border = $exclusive ? '#7c3aed' : '#e5e7eb';
echo '
';
// ACG-149-R36-L: every card carries a badge. The audit noted the cards had none at all โ
// only the section heading did โ so a card read as a feature you have, not one you would
// be buying.
//
// ACG-149-R37-I (adversarial review): the badge and the qualifier were added in the same
// commit and CONTRADICTED EACH OTHER on 24 of 43 cards โ "๐ PRO ยท Exclusive ยท Live Attack
// Map ยท โ Already in FREE: the Live Attack Map above on this page". Locked and already
// yours, on one card. R36-L existed to stop this page contradicting the product and the
// badge re-created it on more than half the grid. A card the user already has something of
// is not LOCKED, it is an UPGRADE, so it says so.
echo '
';
if ( '' !== $already ) {
echo 'โฌ ' . esc_html__( 'Upgrade', 'ai-cyberguard' ) . '';
} else {
echo '๐ ' . esc_html__( 'PRO', 'ai-cyberguard' ) . '';
}
if ( $exclusive ) {
echo '';
echo esc_html__( 'Exclusive', 'ai-cyberguard' );
echo '';
}
echo '
';
echo '
' . esc_html( $f[0] ) . '
';
echo '
' . esc_html( $f[1] ) . '
';
echo '
' . esc_html( $f[2] ) . '
';
if ( '' !== $already ) {
echo '
';
echo 'โ ' . esc_html( $already );
echo '
';
}
echo '
';
}
echo '
';
}
/**
* Render PRO stats summary
*/
private static function render_pro_stats() {
$stats = self::get_pro_stats();
?>