数字化技能提升教程,数字化时代生存宝典

数字化百科 / 产品文档 / WordPress:Function Reference/do action ref array

WordPress:Function Reference/do action ref array

查看全部产品文档命名空间:WordPress

描述

执行hooked on特定的action hook上的函数,将参数指定到一个数组中。 这个函数与do_action相同,但是传递到hooked to $tag的函数的参数,通过数组,提供。


参数

$tag
(string) 执行的action的名称。
$args
(array) 传递到hooked to $tag的函数的参数

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