-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #298 from codersaiful/3.4.2.2
3.4.2.2
- Loading branch information
Showing
50 changed files
with
4,491 additions
and
862 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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,22 +1,44 @@ | ||
<?php | ||
namespace WOO_PRODUCT_TABLE\Admin; | ||
|
||
use WOO_PRODUCT_TABLE\Admin\Page_Loader; | ||
use WOO_PRODUCT_TABLE\Core\Base; | ||
use WOO_PRODUCT_TABLE\Admin\Handle\Tracker; | ||
use WOO_PRODUCT_TABLE\Admin\Handle\Feature_Loader; | ||
use WOO_PRODUCT_TABLE\Admin\Handle\Pro_Version_Update; | ||
use WOO_PRODUCT_TABLE\Admin\Handle\Deactive_Form as Old_Deactive_Form; | ||
use WOO_PRODUCT_TABLE\Admin\Handle\Plugin_Deactive\Deactive_Form; | ||
class Admin_Loader extends Base{ | ||
public function __construct(){ | ||
|
||
|
||
$main_page = new Page_Loader(); | ||
$main_page->run(); | ||
|
||
|
||
|
||
$deactive_form = new Deactive_Form(); | ||
$deactive_form->run(); | ||
|
||
/** | ||
* This is only for Notice for pro user, | ||
* Actually on free version and pro version combination | ||
* need min request pro for latest free version, | ||
* that's why, we have added this notice. | ||
*/ | ||
$pro_update_ntc = new Pro_Version_Update(); | ||
$pro_update_ntc->run(); | ||
|
||
$features = new Feature_Loader(); | ||
$features->run(); | ||
|
||
|
||
add_action('admin_init', [$this, 'admin_init']); | ||
} | ||
|
||
public function admin_init(){ | ||
|
||
$tracker = new Tracker(); | ||
$tracker->run(); | ||
|
||
} | ||
} |
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
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
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 |
---|---|---|
|
@@ -18,6 +18,13 @@ class Feature_Loader | |
{ | ||
public function run() | ||
{ | ||
/** | ||
* It's Admin panel Table's Action column feature | ||
* Actually adding third-party plugin supported feature | ||
* checkbox added by this Class/Object. | ||
* | ||
* @author Saiful Islam <[email protected]> | ||
*/ | ||
$action = new Action_Feature(); | ||
$action->run(); | ||
} | ||
|
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
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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
* @author Saiful Islam <[email protected]> | ||
*/ | ||
class Pro_Version_Update{ | ||
protected $request_min_pro = '8.1.7'; | ||
protected $request_min_pro = '8.2.4'; | ||
public function run(){ | ||
if( ! defined( 'WPT_PRO_DEV_VERSION' ) ) return; | ||
|
||
|
Oops, something went wrong.