WordPress: Function Reference/do action ref array:修订间差异
来自站长百科
无编辑摘要 |
(→参数) |
||
第7行: | 第7行: | ||
; <tt>$tag</tt> : (''string'') 执行的action的名称。 | ; <tt>$tag</tt> : (''string'') 执行的action的名称。 | ||
; <tt>$args</tt> : (''array'') | ; <tt>$args</tt> : (''array'') 传递到hooked to <tt>$tag</tt>的函数的参数 | ||
{{Stub}} | {{Stub}} |
2008年7月26日 (六) 16:42的最新版本
描述[ ]
执行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.