WordPress at a glance
функция не описана

Requests_Auth_Basic::__construct() public WP 1.0

Constructor

It's a method of the class: Requests_Auth_Basic{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$Requests_Auth_Basic = new Requests_Auth_Basic();
$Requests_Auth_Basic->__construct( $args );
$args(array/null)
Array of user and password. Must have exactly two elements
Default: null

Код Requests_Auth_Basic::__construct() WP 5.5.1

<?php
public function __construct($args = null) {
	if (is_array($args)) {
		if (count($args) !== 2) {
			throw new Requests_Exception('Invalid number of arguments', 'authbasicbadargs');
		}

		list($this->user, $this->pass) = $args;
	}
}