首页 WordPress函数大全 doing_action()

doing_action()

2020-05-01 / 3320阅 / 悠然

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

doing_action( string|null $action = null )

Retrieve the name of an action currently being processed.

描述

参数

$action

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

Default value: null

返回

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

大家谈论
    我的见解