You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+39-2Lines changed: 39 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,41 @@
1
1
# EDD Software Licensing SDK
2
2
3
+
A drop-in solution for WordPress plugin and theme developers to quickly integrate Easy Digital Downloads Software Licensing into their products without complex setup or custom admin interfaces.
4
+
5
+
## Overview
6
+
7
+
The EDD Software Licensing SDK streamlines the process of adding licensing functionality to your WordPress plugins and themes. Instead of building custom settings pages and handling license validation manually, this SDK provides a complete licensing solution that seamlessly integrates with existing WordPress admin interfaces.
8
+
9
+
### Key Features
10
+
11
+
-**Zero-configuration licensing** - Add licensing support with just a few lines of code
12
+
-**Native WordPress integration** - License fields appear directly in plugin action links and theme admin menus
13
+
-**Automatic updates** - Handles secure update delivery for licensed products
-**Flexible deployment** - Works as a standalone plugin or Composer package
16
+
-**Developer-friendly** - Minimal code required, maximum functionality provided
17
+
18
+
### How It Works
19
+
20
+
For **plugins**, the SDK adds a "Manage License" link directly in the plugin list on the Plugins admin screen. Clicking this link opens a modal where users can enter and activate their license key.
21
+
22
+
For **themes**, a "Theme License" menu item is automatically added to the Appearance menu, providing easy access to license management via the modal.
23
+
24
+
The SDK handles all the complex licensing logic behind the scenes:
25
+
- License key validation and activation
26
+
- Automatic update notifications and delivery
27
+
- License status tracking and renewal reminders
28
+
- Secure communication with your EDD store
29
+
30
+
### Perfect For
31
+
32
+
- Plugin developers who want to focus on features, not licensing infrastructure
33
+
- Theme authors looking for a professional licensing solution
34
+
- Developers transitioning from other licensing systems
35
+
- Anyone who wants licensing integration without reinventing the wheel
36
+
37
+
## Installation
38
+
3
39
You can run the SDK as a standalone plugin on your site, or install it as a Composer package in your theme or plugin:
4
40
5
41
```
@@ -17,7 +53,7 @@ You can run the SDK as a standalone plugin on your site, or install it as a Comp
17
53
}
18
54
}
19
55
20
-
## Example Usage
56
+
### Example Usage
21
57
22
58
Plugin:
23
59
```php
@@ -55,11 +91,12 @@ add_action(
55
91
);
56
92
```
57
93
58
-
## Arguments
94
+
###Arguments
59
95
60
96
-`id` - Plugin/theme slug.
61
97
-`url` - The store URL.
62
98
-`item_id` - The item ID (on your store).
63
99
-`version` - The current version number.
64
100
-`file` - The main plugin file. Not needed for themes.
65
101
-`type` - `plugin` or `theme`. Not needed for plugins.
102
+
-`weekly_check` - Optional: whether to make a weekly request to confirm the license status. Defaults to true.
0 commit comments