WordPress:Function Reference/do action

来自站长百科
跳转至: 导航、​ 搜索

描述[ ]

为通过add_action附加的actions,创建hook。

用法[ ]

%%% <?php do_action($tag, $arg = ); ?> %%%


参数[ ]

$tag
(string) 你想要创建的hook的名称。
$arg
(string) 这个hook接受的一列参数。

This page is [[WordPress::Category:Stubs|marked]] as incomplete. You can help Codex by expanding it.