bp_members_validate_user_password( string $pass, string $confirm_pass, null|WP_User $userdata = null )

Validate a user password.


Description Description


Parameters Parameters

$pass

(Required) The password.

$confirm_pass

(Required) The confirmed password.

$userdata

(Optional) Null or the userdata object when a member updates their password from front-end.

Default value: null


Top ↑

Return Return

(WP_Error) A WP error object possibly containing error messages.


Top ↑

Source Source

File: bp-members/bp-members-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.