Validation of custom filters

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

There is a setting to activate this validation. Be sure to turn it off again afterwards, since it can be cpu intensive.

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