WordPress:Function Reference/do action
来自站长百科
Description
描述
Creates a hook for attaching actions via add_action.
为通过add_action附加的actions,创建hook。
Usage
用法
%%% <?php do_action($tag, $arg = ); ?> %%%
%%% <?php do_action($tag, $arg = ); ?> %%%
Parameters
参数
- $tag
- (string) The name of the hook you wish to create.
- $arg
- (string) The list of arguments this hook accepts.
- $tag
- (string) 你想要创建的hook的名称。; $arg : (string) 这个hook接受的一列参数。
This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.
This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.