How to locate a front-end rendering function filter?


Note :This snippet works only with the Classical style option. The Classical style option can be enabled in Appearance > Customize > Advanced > Theme Style. More about the theme style option here


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.


Related Snippets you may also like


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

Comments are closed.