registerFilter()

Register a filter

You can remove the filter by using the deregisterFilter() method.

* presents a required parameter

  • name * — The name of filter
  • func * — The filter function