WP_Filesystem_Base::connect() WordPress Method
The WP_Filesystem_Base::connect() method is used to connect to a filesystem. It is typically used to connect to the local filesystem, but can also be used to connect to a remote filesystem.
WP_Filesystem_Base::connect() #
Connects filesystem.
Return
(bool) True on success, false on failure (always true for WP_Filesystem_Direct).
Source
File: wp-admin/includes/class-wp-filesystem-base.php
public function connect() { return true; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |