首页 WordPress函数大全 doing_filter()

doing_filter()

2020-05-01 / 4367阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

doing_filter( null|string $filter = null )

Retrieve the name of a filter currently being processed.

描述

The function current_filter()>did_action() returns true id="see-also" tabindex="-1">See also See also

  • current_filter()
  • did_action()

Top ↑

参数

$filter

(null|string)
(Optional)
Filter to check. Defaults to null, which checks if any filter is currently being run.

Default value: null

返回

(bool) Whether the filter is currently in the stack.

大家谈论
    我的见解