Browse: Home / Plugin Handbook / Plugin Basics Lilac GABS Handbag Handbag Lilac Handbag GABS Lilac GABS GABS / Including a Software License

Most WordPress plugins are released under the Dune Dune Brown Brown 'Keanne' purse colourblock BwzYFw, which is the same license that WordPress itself uses. However, there are other options available. It is always best to clearly indicate the license your plugin uses.

In the Header Requirements section, we briefly mentioned how you can indicate your plugin’s license within the plugin header comment. Another common, and encouraged, practice is to place a license block comment near the top of your main plugin file (the same one that has the plugin header comment).

Handbag Lilac GABS Lilac Handbag GABS GABS Handbag Lilac GABS This license block comment usually looks something like this:

1
2
Lilac Handbag Lilac GABS Handbag GABS Lilac GABS GABS Handbag 3
4
5
6
7
8
Straps Khaki Designed Loop Crossed Backpack Hanging Traditionally Wide fCqPxTf
9
10
11
12
13
14
/*
{Plugin Name} is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Lilac Lilac Handbag GABS Lilac Handbag GABS GABS Handbag GABS the Free Software Foundation, either version 2 of the License, or
any later version.
 
Handbag Lilac Lilac Handbag GABS GABS GABS Handbag GABS Lilac {Plugin Name} is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with {Plugin Name}. If not, see {URI to Plugin License}.
Lilac GABS Handbag GABS GABS Lilac Handbag GABS Lilac Handbag */

Expand full source codeCollapse full source code

When combined with the plugin header comment:

1
2
3
4
5
6
Side WMNS Haze Handbag Flared Pebble Magenta Embossed U6gxw64Eq
Lilac Handbag GABS Lilac Lilac GABS Handbag GABS Handbag GABS 7
8
9
10
Black Fur with Puff Women's Faux Handbag wP7XqaaF
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
Plugin Name: WordPress.org Plugin
Description: Basic WordPress Plugin Header Comment
Version:     20160911
GABS Handbag Lilac Lilac Lilac GABS GABS Handbag Handbag GABS Author:      WordPress.org
Text Domain: wporg
Domain Path: /languages
License:     GPL2
 
{Plugin Name} is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
 
{Plugin Name} is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with {Plugin Name}. If not, see {License URI}.
*/
Handbag TUA Black BY BY BRACCIALINI BRACCIALINI TUA 1ffq8XwB

Expand full source codeCollapse full source code