-
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
e4a847c
commit 8667f61
Showing
2 changed files
with
26 additions
and
8 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 |
---|---|---|
@@ -1 +1,19 @@ | ||
<?php | ||
// Exit if accessed directly | ||
defined( 'ABSPATH' ) || exit; | ||
|
||
/** | ||
* Add Github Plugin update checker into the AcrossWP Github Plugin Update Checker | ||
*/ | ||
function wordpress_plugin_boilerplate_plugins_update_checker_github( $packages ) { | ||
|
||
$packages[1000] = array( | ||
'repo' => 'https://github.com/acrosswp/acrosswp-testing-plugin-update', | ||
'file_path' => WORDPRESS_PLUGIN_BOILERPLATE_FILES, | ||
'plugin_name_slug' => WORDPRESS_PLUGIN_BOILERPLATE_PLUGIN_NAME_SLUG, | ||
'release_branch' => 'main' | ||
); | ||
|
||
return $packages; | ||
} | ||
add_filter( 'acrosswp_plugins_update_checker_github', 'wordpress_plugin_boilerplate_plugins_update_checker_github', 100, 1 ); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.