WP_Filesystem_Base::connect()publicWP 2.5.0

Connects filesystem.

Метод класса: WP_Filesystem_Base{}

No Hooks.

Return

true|false. True on success, false on failure (always true for WP_Filesystem_Direct).

Usage

$WP_Filesystem_Base = new WP_Filesystem_Base();
$WP_Filesystem_Base->connect();

Changelog

Since 2.5.0 Introduced.

Код WP_Filesystem_Base::connect() WP 6.1.1

public function connect() {
	return true;
}