| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 2 | 3 | namespace Elementor\Core\Settings\General; |
| 3 | 4 | |
| 4 | 5 | use Elementor\Plugin; |
| 5 | 6 | |
| @@ -9,51 +10,33 @@ | ||
| 9 | 10 | |
| 10 | 11 | /** |
| 11 | 12 | * This file is deprecated, use Plugin::$instance->kits_manager->get_active_kit_for_frontend() instead. |
| 12 | 13 | * it changed to support call like this: Manager::get_settings_managers( 'general' )->get_model()->get_settings( 'elementor_default_generic_fonts' ) |
| 13 | - * | |
| 14 | - * @deprecated 3.0.0 Use `Plugin::$instance->kits_manager->get_active_kit_for_frontend()` instead. | |
| 14 | + * @deprecated since 3.0.0 | |
| 15 | 15 | */ |
| 16 | + | |
| 16 | 17 | class Model { |
| 17 | 18 | |
| 18 | - /** | |
| 19 | - * @deprecated 3.0.0 | |
| 20 | - */ | |
| 21 | 19 | public function get_name() { |
| 22 | 20 | return 'general-deprecated'; |
| 23 | 21 | } |
| 24 | 22 | |
| 25 | - /** | |
| 26 | - * @deprecated 3.0.0 | |
| 27 | - */ | |
| 28 | 23 | public function get_panel_page_settings() { |
| 29 | 24 | return []; |
| 30 | 25 | } |
| 31 | 26 | |
| 32 | - /** | |
| 33 | - * @deprecated 3.0.0 | |
| 34 | - */ | |
| 35 | 27 | public function get_tabs_controls() { |
| 36 | 28 | return []; |
| 37 | 29 | } |
| 38 | 30 | |
| 39 | - /** | |
| 40 | - * @deprecated 3.0.0 | |
| 41 | - */ | |
| 42 | 31 | public function get_frontend_settings() { |
| 43 | 32 | return []; |
| 44 | 33 | } |
| 45 | 34 | |
| 46 | - /** | |
| 47 | - * @deprecated 3.0.0 | |
| 48 | - */ | |
| 49 | 35 | public function get_controls() { |
| 50 | 36 | return []; |
| 51 | 37 | } |
| 52 | 38 | |
| 53 | - /** | |
| 54 | - * @deprecated 3.0.0 | |
| 55 | - */ | |
| 56 | 39 | public function get_settings( $setting = null ) { |
| 57 | 40 | |
| 58 | 41 | if ( $setting ) { |
| 59 | 42 | $setting = str_replace( 'elementor_', '', $setting ); |