Plugin system

2 posts by 2 authors in: Forums > CMS Builder
Last Post: October 23, 2009   (RSS)

I'm trying to write a plugin to keep a log of user logins. I've found the hooks that you've added for admin_prelogin and admin_postlogin, but wondered if you could please explain to me what the difference is between a hook and a filter.

In most of the supplied plugins, you make use of filters by using addFilter() and only in schemaDumper is addAction() used which refers to a hook. But why do you call some areas filters and some hooks?

Thanks, Paul.