Validation of custom filters

The hooks we defined in the plugin, which are meant to hook your own output to, get checked on each load.

This will make sure that you don't have any errors in your filters without you knowing it. In case you have an error in your filter, you will see an admin notice in the admin.

These are the filters which are used:

  • type (array or string)
  • email (check whether format is valid)
  • URL (check whether URL/file exists/is reachable
  • Hex color (check for valid color value)

There are 41 filters right now which get checked.

Filter email validation

Filter array validation

Filter invalid url

Filter image unreachable