Execute functions hooked on a specific action hook, specifying arguments in an array.

Signature

do_action_ref_array( $tag, $args )
tag
 (string) The name of the action to be executed.
args
 (array) The arguments supplied to the functions hooked to <tt>$tag</tt>

Return

(null) Will return null if $tag does not exist in $wp_filter array

Source

function do_action_ref_array($tag, $args) {
	global $wp_filter, $wp_actions, $merged_filters, $wp_current_filter;

	if ( ! isset($wp_actions[$tag]) )
		$wp_actions[$tag] = 1;
	else
		++$wp_actions[$tag];

	// Do 'all' actions first
	if ( isset($wp_filter['all']) ) {
		$wp_current_filter[] = $tag;
		$all_args = func_get_args();
		_wp_call_all_hook($all_args);
	}

	if ( !isset($wp_filter[$tag]) ) {
		if ( isset($wp_filter['all']) )
			array_pop($wp_current_filter);
		return;
	}
21 more lines...
WP Trac GitHub

Link here