WP_Filesystem_SSH2::run_command( string $command, bool $returnbool = false )
Parameters
- $command
-
(Required)
- $returnbool
-
(Optional)
Default value: false
Return
(bool|string) True on success, false on failure. String if the command was executed, $returnbool
is false (default), and data from the resulting stream was retrieved.
Source
File: wp-admin/includes/class-wp-filesystem-ssh2.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |