• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 Extend criteria


Well-known member
Which steps are necessary to extend the criteria system? Is it enough to create a template modification and extend the specific \XF\Criteria handler with the related methods or is there more that needs to be done?


XenForo developer
Staff member
A slightly better approach would probably be a template modification and a listener rather than a class extension. You can see this in the RM as an example.