LinkedIn WordPress Skill Quiz Answers

What is the correct order of parameters for the add_action() function?

Latest Update on 23rd January, 2022 by Certification Course Answers

What is the correct order of parameters for the add_action() function?

  1.  add_action( 'example_hook', 'example_function', $accepted_args, $priority )
  2.  add_action( 'example_function', 'example_hook', $priority, $accepted_args )
  3.  add_action( 'example_hook', 'example_function', $priority, $accepted_args )
  4.  add_action( 'example_function', 'example_hook', $priority )

Correct Answer:

  •  add_action( 'example_hook', 'example_function', $priority, $accepted_args )

Latest Updates

No posts found in this category.