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)


Top ↑

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();
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.