Remove all code related to purchasing a license

This commit is contained in:
David Stone
2024-12-07 01:16:47 -07:00
parent 450931b405
commit d87425cfab
21 changed files with 4 additions and 4343 deletions

View File

@ -10,8 +10,6 @@
namespace WP_Ultimo\UI;
use WP_Ultimo\Logger;
use WP_Ultimo\UI\Base_Element;
use WP_Ultimo\License;
// Exit if accessed directly
defined('ABSPATH') || exit;
@ -62,7 +60,7 @@ class Jumper {
*/
protected function is_jumper_enabled() {
return apply_filters('wu_is_jumper_enabled', wu_get_setting('enable_jumper', true) && License::get_instance()->allowed() && current_user_can('manage_network'));
return apply_filters('wu_is_jumper_enabled', wu_get_setting('enable_jumper', true) && current_user_can('manage_network'));
} // end is_jumper_enabled;

View File

@ -9,10 +9,6 @@
namespace WP_Ultimo\UI;
use WP_Ultimo\Logger;
use WP_Ultimo\UI\Base_Element;
use WP_Ultimo\License;
// Exit if accessed directly
defined('ABSPATH') || exit;
@ -39,7 +35,6 @@ class Toolbox {
/**
* Checks if we should add the toolbox or not.
*
* @todo fix the check for license activation.
* @since 2.0.0
* @return boolean
*/
@ -55,7 +50,7 @@ class Toolbox {
} // end if;
return apply_filters('wu_is_toolbox_enabled', wu_get_setting('enable_jumper', true) && License::get_instance()->allowed() && $can_see_toolbox && !is_network_admin());
return apply_filters('wu_is_toolbox_enabled', wu_get_setting('enable_jumper', true) && $can_see_toolbox && !is_network_admin());
} // end is_toolbox_enabled;