LLMS_Abstract_Email_Provider::do_remote_install()
Validate installation request and perform the plugin install or return errors.
Return Return
(array)
Source Source
File: includes/abstracts/llms-abstract-email-provider.php
protected function do_remote_install() {
$can_install = $this->can_remote_install();
if ( true !== $can_install ) {
return $can_install;
}
$install = $this->install();
if ( is_wp_error( $install ) ) {
return array(
'code' => $install->get_error_code(),
'message' => $install->get_error_message(),
'status' => 400,
);
}
return $this->do_remote_install_success();
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.40.0 | Introduced. |