首页 WordPress函数大全 do_action_ref_array()

do_action_ref_array()

2020-05-01 / 4511阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

do_action_ref_array( string $tag, array $args )

Calls the callback functions that have been added to an action hook, specifying arguments in an array.

描述

See also See also

  • do_action(): This function is identical, but the arguments passed to the functions hooked to $tag are supplied using an array.

Top ↑

参数

$tag

(string)
(Required)
The name of the action to be executed.

$args

(array)
(Required)
The arguments supplied to the functions hooked to $tag.

大家谈论
    我的见解