LLMS_Abstract_Email_Provider::do_remote_install_verify()
Verify the remote install, and then perform the post-install response. Otherwise the plugin isn’t available yet.
Return Return
(array)
Source Source
File: includes/abstracts/llms-abstract-email-provider.php
protected function do_remote_install_verify() {
$ret = $this->do_remote_install();
if ( is_wp_error( $ret ) ) {
return $ret;
}
if ( ! $this->is_installed() ) {
return array(
'code' => 'llms_' . $this->id . '_not_found',
/* translators: %s: title of the email delivery plugin. */
'message' => sprintf( __( '%s plugin not found. Please try again.', 'lifterlms' ), $this->get_title() ),
'status' => 400,
);
}
return $this->do_remote_install_success();
}
Expand full source code Collapse full source code View on GitHub