Validate user creation and profile updates
-
Looking at WordPress there are three forms where all fields of a user profile can be filled in:
- wp-admin/profile.php
- wp-admin/user-edit.php
- wp-admin/user-new.php
I would like to intercept the submission of each of these forms so that I can validate the form submission. All I’m trying to do is prevent the form from being submitted and display an error if certain values appear in certain fields.
Is there a way to do this without hacking the core WordPress files? Ideally I’d like to build this functionality into a plugin.
Thanks.
The topic ‘Validate user creation and profile updates’ is closed to new replies.