Validate user creation and profile updates (1 post)

  1. NickstaDB
    Posted 5 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Topic