Warning: This method has been deprecated. Use wp_xmlrpc_server::login() instead.

wp_xmlrpc_server::login_pass_ok( string $username, string $password )

Check user’s credentials. Deprecated.


Description Description

See also See also


Top ↑

Parameters Parameters

$username

(string) (Required) User's username.

$password

(string) (Required) User's password.


Top ↑

Return Return

(bool) Whether authentication passed.


Top ↑

Source Source

File: wp-includes/class-wp-xmlrpc-server.php

	public function login_pass_ok( $username, $password ) {
		return (bool) $this->login( $username, $password );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Use wp_xmlrpc_server::login()
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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