Skip to content

Commit

Permalink
Update plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
raftaar1191 committed Oct 18, 2023
1 parent e4a847c commit 8667f61
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
18 changes: 18 additions & 0 deletions admin/licenses-update/plugin-update-checker/main.php
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 );
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8667f61

Please sign in to comment.