Skip to content

Commit

Permalink
Remove unwatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
raftaar1191 committed May 26, 2024
1 parent c9c0422 commit b888178
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 227 deletions.
8 changes: 0 additions & 8 deletions admin/class-wordpress-plugin-boilerplate-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ public function __construct( $plugin_name, $version ) {
$this->asset_file = include( WORDPRESS_PLUGIN_BOILERPLATE_PLUGIN_PATH . 'build/backend/index.asset.php' );
}

/**
* Add integration class class and files
*/
public function register_integration() {
require_once WORDPRESS_PLUGIN_BOILERPLATE_PLUGIN_PATH . 'admin/integration/buddyboss-integration.php';
buddypress()->integrations['addon'] = new Wordpress_Plugin_Boilerplate_BuddyBoss_Integration( $this->plugin_name );
}

/**
* Register the stylesheets for the admin area.
*
Expand Down
127 changes: 0 additions & 127 deletions admin/integration/buddyboss-addon-integration-tab.php

This file was deleted.

62 changes: 0 additions & 62 deletions admin/integration/buddyboss-integration.php

This file was deleted.

2 changes: 0 additions & 2 deletions includes/class-wordpress-plugin-boilerplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,6 @@ private function define_admin_hooks() {

$this->loader->add_action( 'plugin_action_links', $plugin_admin, 'modify_plugin_action_links', 10, 2 );

$this->loader->add_action( 'bp_setup_integrations', $plugin_admin, 'register_integration' );

$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' );

$this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' );
Expand Down
1 change: 1 addition & 0 deletions init-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ git mv includes/class-wordpress-plugin-boilerplate-loader.php includes/"class-$s

git mv admin/class-wordpress-plugin-boilerplate-admin.php admin/"class-$slug-admin.php"
git mv admin/partials/wordpress-plugin-boilerplate-admin-display.php admin/partials/"$slug-admin-display.php"
git mv admin/update/wordpress-plugin-boilerplate-update.php admin/update/"$slug-update.php"

git mv public/class-wordpress-plugin-boilerplate-public.php public/"class-$slug-public.php"
git mv public/partials/wordpress-plugin-boilerplate-public-display.php public/partials/"$slug-public-display.php"
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'acrosswp/wordpress-plugin-boilerplate',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => 'f710713c1d0af67cf21f308cfdbd2f4317733be0',
'reference' => 'c9c042260d98a923a0987127e3ff52dcabd87416',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -24,7 +24,7 @@
'acrosswp/wordpress-plugin-boilerplate' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => 'f710713c1d0af67cf21f308cfdbd2f4317733be0',
'reference' => 'c9c042260d98a923a0987127e3ff52dcabd87416',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down
26 changes: 0 additions & 26 deletions vendor/composer/platform_check.php

This file was deleted.

0 comments on commit b888178

Please sign in to comment.