WordPress 中文文档
Function Reference/do action ref array
From WordPress Chinese
[编辑]
Description
Execute functions hooked on a specific action hook, specifying arguments in a array.
This function is identical to do_action, but the arguments passed to the functions hooked to $tag are supplied using an array.
[编辑]
Parameters
- $tag
- (string) The name of the action to be executed.
- $args
- (array) The arguments supplied to the functions hooked to $tag
