Name: edd-sl-queries
Owner: Caldera Labs
Description: Useful queries for Easy Digital Downloads Software Licensing.
Created: 2016-10-31 01:53:31.0
Updated: 2016-10-31 09:36:12.0
Pushed: 2016-12-13 04:15:42.0
Homepage: null
Size: 5
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Useful queries for Easy Digital Downloads Software Licensing.
Requires PHP 7.0 or later
These queries are also avaible via REST API using our EDD Software Licensing Endpoints plugin.
epositories" : [
{
"type": "git",
"url" : "https://github.com/CalderaWP/edd-sl-queries"
}
equire": {
"php": ">=7.0.0",
"CalderaWP/edd-sl-queries": "dev-master"
URLs of all sites with an activated license:
= new \CalderaWP\EDD\SL\sites();
es = $sl->get_all();
URLs of all sites with an active license for a specific download
= new \CalderaWP\EDD\SL\sites();
es = $sl->get_by_download(42);
URLs of all sites with an active license for a specific user
= new \CalderaWP\EDD\SL\sites();
es = $sl->get_user_sites(42);
Copyright 2016 Josh Pollock & CalderaWP LLC. Licensed under the terms of the GNU GPL v2 or later.