What is the simplest way to find out the number of parameters passed into a function?
Answer Posted / Shashibala
In PHP (used in WordPress), you can use the func_num_args() function to get the number of arguments passed to a function.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers