Malware scanner

Whitelist files and folders

Whitelist safe Malware Scanner findings with the Whitelist button, or with the securityninja_whitelist filter in code.

If a scan flags files you know are safe, you can whitelist them so they stop appearing as findings.

Whitelist from scan results

  1. Run a scan from Security Ninja → Malware.
  2. Next to a result, click Whitelist.
  3. Confirm with OK.

Issues found - Whitelist files in malware scanner

Are you sure you want to whitelist this file?

The file is skipped on later scans until you use Revert Whitelist.

To skip whole folders or path patterns (not just one file), use Exclude paths from the Malware Scanner.

Whitelist via code

You can also add custom code in a child theme’s functions.php or a small custom plugin.

See the securityninja_whitelist filter for details.

Still stuck? Get help or contact us.

Larger screenshot

Enlarged image