WPDev.one
Core Function
View Source on Trac ↗

do_action_ref_array()

do_action_ref_array( mixed $hook_name, mixed $args )

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

Parameters 2 required

Name / Type Description
$hook_name
string

The name of the action to be executed.

Required
$args
array

The arguments supplied to the functions hooked to `$hook_name`.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
2.1.0
Source File
wp-includes/plugin.php
Advertisement