What does apply_filters(…) actually do in WordPress?

后端 未结 4 1476
谎友^
谎友^ 2020-12-12 12:13

I\'m trying to understand some of the function in WordPress, but I can\'t get my head around what apply_filters(...) actually does.

Is someone able to clear this up

4条回答
  •  眼角桃花
    2020-12-12 13:03

    In the most basic terms, apply_filters is used to initialise a filter hook... add_filter assigns a new function to hooks that have already been created.

提交回复
热议问题