SendWP Integration Kit

The SendWP SDK is intended for SendWP partners to include in their WordPress Plugin, so that their users can receive Email Deliverability service with only a few clicks.

It is comprised of a PHP component, and a Javascript component, with responsibilities as follows:

Javascript

  • When appropriate, send a request to the site's backend to trigger a download of the SendWP WordPress plugin.
  • Redirect to the site's plugin page upon completion.

PHP

  • Listen for download requests from the Javascript component, and initiate a silent download via the Plugins API.
  • Activate the plugin once the download is complete.
  • Verify that download and activation was successful.

[sendwp-partner-integration-php-gist]

[sendwp-partner-integration-js-gist]