Yesterday, this question was asked: How to pass arguments to add_action()
After I answered it, the question was marked as a duplicate to this one: Passing a parameter to filter and action functions
Looking at just the titles, these appear to be the same question. (The simple answer to that question is "You can't pass a parameter via the add_action function.") However, the situations that the OPs were in are totally different. In yesterday's question, the OP was calling
add_action from inside an object class, and was confused about passing the parameter to the callback function, also inside the object class. In addition, he was using
do_action, to perform the action. He got an answer that worked for him and did not have anything to do with the "duplicate" question.
Are these really duplicate questions? Does the question need to be edited to make it look less like a duplicate?