Which hook for processing plugin page form data?

Which hook should I use for processing form data from my plugin pages. I currently use “admin_init”. Is that correct? Was this hook intended to be used this way?

2 Answers
2

if you’re processing data submitted from a custom form, then I’d say the init hook is the best hook to use. See example 1.

Leave a Comment