W3cubDocs

/WordPress

Basic::getAuthString(): string

Get the authentication string (user:pass)

Return

string

Source

public function getAuthString() {
	return $this->user . ':' . $this->pass;
}

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-auth-basic/getauthstring