WordPress Development Question:

How to find out number of parameters passed into function?

WordPress Expert Interview Question
WordPress Expert Interview Question

Answer:

func_num_args() function returns the number of parameters passed in.


Previous QuestionNext Question
How to call constructor for a parent class?Will comparison of string "10″ and integer 11 work in PHP?