2017 © Pedro Peláez
 

library edd-sl-queries

Useful queries for Easy Digital Downloads Software Licensing.

image

calderawp/edd-sl-queries

Useful queries for Easy Digital Downloads Software Licensing.

  • Tuesday, December 13, 2016
  • by Shelob9
  • Repository
  • 2 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

edd-sl-queries

Useful queries for Easy Digital Downloads Software Licensing., (*1)

Requires PHP 7.0 or later, (*2)

These queries are also avaible via REST API using our EDD Software Licensing Endpoints plugin., (*3)

Install

  "repositories" : [
    {
      "type": "git",
      "url" : "https://github.com/CalderaWP/edd-sl-queries"
    }
  ],
  "require": {
    "php": ">=7.0.0",
    "CalderaWP/edd-sl-queries": "dev-master"
  }

Usage

  • URLs of all sites with an activated license:
  $sl = new \CalderaWP\EDD\SL\sites();
  $sites = $sl->get_all();
  • URLs of all sites with an active license for a specific download
  $sl = new \CalderaWP\EDD\SL\sites();
  $sites = $sl->get_by_download(42);
  • URLs of all sites with an active license for a specific user
  $sl = new \CalderaWP\EDD\SL\sites();
  $sites = $sl->get_user_sites(42);

Copyright 2016 Josh Pollock & CalderaWP LLC. Licensed under the terms of the GNU GPL v2 or later., (*4)

The Versions

13/12 2016

dev-master

9999999-dev

Useful queries for Easy Digital Downloads Software Licensing.

  Sources   Download

GPL-2.0+

The Requires

  • php >=7.0.0

 

wordpress