-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9bd81f
commit e4a847c
Showing
5 changed files
with
79 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
// Exit if accessed directly | ||
defined( 'ABSPATH' ) || exit; | ||
|
||
/** | ||
* Add EDD licences into the AcrossWP EDD licences menu | ||
*/ | ||
function wordpress_plugin_boilerplate_edd_plugins_licenses( $licenses ) { | ||
|
||
$licenses[1000] = array( | ||
'id' => 705, | ||
'key' => WORDPRESS_PLUGIN_BOILERPLATE_PLUGIN_NAME_SLUG, | ||
'version' => WORDPRESS_PLUGIN_BOILERPLATE_VERSION, | ||
'name' => WORDPRESS_PLUGIN_BOILERPLATE_PLUGIN_NAME | ||
); | ||
|
||
return $licenses; | ||
} | ||
add_filter( 'acrosswp_edd_plugins_licenses', 'wordpress_plugin_boilerplate_edd_plugins_licenses', 100, 1 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters