Lock user information once fields have been filled in
Much like the username is locked down and cannot be changed once it has been registered, I would like to lock down additional fields I have created with Advanced Custom Fields like the person’s cellphone number which is vital for us to have because it is linked to a security gate entrance and should not be changed
What I need to be able to have happen is that once someone completes a field and submits their new information, that field needs to be locked down when the page reloads and only an administrator can change it.
Is there a WordPress hook that exists to do something like this please? Here’s what I have found, none of which supports my solution.
- http://adambrown.info/p/wp_hooks/version/3.6 (to see if a hook like this exists)
I am already making use of the jQuery to check the fields that need to stay locked and disabling them but what I prefer to know is if there are any hooks one could use to do this in WP due to the fact that someone might be know how to bypass this with enough knowledge of Dev Toolbar?
I have also done a ton of searches and nothing as specific as what I am trying to do here.