Hook into form handle from admin users table

Question

I’m adding a couple of buttons to the user table in a custom column, in which, on click will need to either approve or reject the user via update_user_meta.

I’ve tried hooking in with profile_update, but that didn’t seem to work.

I also noticed that the form method is get, so would the best option here be some admin ajax?

enter image description here

TIA!

0
, , Jake 4 years 2019-11-06T11:36:17-05:00 0 Answers 69 views 0

Leave an answer

Browse
Browse