WordPress Support Officer Question:
How to find out number of parameters that passed into function?
Answer:
func_num_args() function returns the number of parameters passed in.
Previous Question | Next Question |
Are the objects passed by value or by reference? | Define ternary conditional operator in PHP? |