| @@ -2,9 +2,8 @@ | ||
| 2 | 2 | namespace Elementor\Modules\Home\Classes; |
| 3 | 3 | |
| 4 | 4 | use Elementor\Core\Isolation\Wordpress_Adapter; |
| 5 | 5 | use Elementor\Core\Isolation\Plugin_Status_Adapter; |
| 6 | -use Elementor\Includes\EditorAssetsAPI; | |
| 7 | 6 | |
| 8 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | 8 | exit; // Exit if accessed directly. |
| 10 | 9 | } |
| @@ -15,13 +14,15 @@ | ||
| 15 | 14 | |
| 16 | 15 | private const TRANSFORMATIONS = [ |
| 17 | 16 | 'Create_New_Page_Url', |
| 18 | 17 | 'Create_Edit_Website_Url', |
| 18 | + 'Filter_Plugins', | |
| 19 | 19 | 'Filter_Get_Started_By_License', |
| 20 | 20 | 'Filter_Sidebar_Promotion_By_License', |
| 21 | + 'Filter_Condition_Introduction_Meta', | |
| 21 | 22 | 'Create_Site_Settings_Url', |
| 22 | 23 | 'Filter_Top_Section_By_License', |
| 23 | - 'Site_Builder_Config', | |
| 24 | + 'Filter_Add_Ons_By_License', | |
| 24 | 25 | ]; |
| 25 | 26 | |
| 26 | 27 | protected array $home_screen_data; |
| 27 | 28 | |
| @@ -38,12 +39,8 @@ | ||
| 38 | 39 | $this->transformation_classes = $this->get_transformation_classes(); |
| 39 | 40 | } |
| 40 | 41 | |
| 41 | 42 | public function run_transformations(): array { |
| 42 | - if ( ! EditorAssetsAPI::is_valid_data( $this->home_screen_data ) ) { | |
| 43 | - return []; | |
| 44 | - } | |
| 45 | - | |
| 46 | 43 | if ( ! empty( self::$cached_data ) ) { |
| 47 | 44 | return self::$cached_data; |
| 48 | 45 | } |
| 49 | 46 | |