How to locate a front-end rendering function filter?

Customizr has been built to be easily customizable 😉 not only for designers but also for developers.

There are two types of filters in Customizr :

  1. The value and boolean filters : those filters are used in the core to get a contextual information for example : ‘__is_home_empty’
  2. The front-end content filters : those filters allow a developer to alter any rendering function of the theme

When a rendering function is created in Customizr, its output (usually buffered with ob_start()  )  is assigned to a filter with the apply_filters()  function. That’s how I turned almost every front end content filtrable in the theme. In most cases, the filter has the same name of the function where it’s been created from.

3 thoughts on “How to locate a front-end rendering function filter?”

Comments are closed.