This question already has an answer here:
I have successive hooks to an action which are passed an associative array like:
I am trying to update the values in this array in the multiple
add_action calls, however each add_action is getting a copy of the passed array, not a reference.
How do I pass a reference? I am using PHP 5.