Awesome Support Developer Documentation

wpas_register_account_errors


Signature

$user_id = apply_filters( 'wpas_register_account_errors', $user_id, $args['first_name'], $args['last_name'], $args['user_email'] );

Typical Usage

This filter can be used to perform custom checks on the data being sent to WordPress during the account creation process. Return an WP_ERROR object to prevent the account from being created!


First Available

Version 3.2.0


More Topics In Filter Hooks

Share: