WordPress Themes Development Question: Download WordPress Theme Development PDF

Tell me what is the simplest way to find out the number of parameters passed into a function?

Tweet Share WhatsApp

Answer:

It is really easy to find out the no. of parameters passed into the function by following the below provided command:
func_num_args()

Download WordPress Theme Development PDF Read All 109 WordPress Theme Development Questions
Previous QuestionNext Question
Tell me what do you mean by custom field in wordpress?Explain what are the custom fields in wordpress?