WordPress Question:

How to find out the number of parameters passed into function?

WordPress (CMS) Interview Question
WordPress (CMS) Interview Question

Answer:

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


Previous QuestionNext Question
Suppose If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b?What is the ternary conditional operator in PHP?