This function making me so confused. The documentation in wordpress codex doesn't make sense. I can't understand why and how to use it.

Last two week I am wasting/spending my time to understand some of the wordpress function to develop a video plugin. Please anyone explain this a function simply.


wp_nonce_field() means the nonce field is used to validate that the contents of the form came from the location on the current site and not somewhere else.

  • Thanks! Please simply explain the parameters of the function. – Allen Titan Apr 11 '16 at 10:58
  • It does not get the hidden filed values! – Sumit Apr 11 '16 at 11:00
  • wp_nonce_field('action_name','nonce_field_name') – Vidhya Thirugnanam Apr 11 '16 at 11:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.