| @@ -32,8 +32,27 @@ | ||
| 32 | 32 | return 'history'; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | + * Localize settings. | |
| 37 | + * | |
| 38 | + * Add new localized settings for the history module. | |
| 39 | + * | |
| 40 | + * Fired by `elementor/editor/localize_settings` filter. | |
| 41 | + * | |
| 42 | + * @since 1.7.0 | |
| 43 | + * @access public | |
| 44 | + * @deprecated 3.1.0 | |
| 45 | + * | |
| 46 | + * @return array Localized settings. | |
| 47 | + */ | |
| 48 | + public function localize_settings() { | |
| 49 | + Plugin::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( __METHOD__, '3.1.0' ); | |
| 50 | + | |
| 51 | + return []; | |
| 52 | + } | |
| 53 | + | |
| 54 | + /** | |
| 36 | 55 | * @since 2.3.0 |
| 37 | 56 | * @access public |
| 38 | 57 | */ |
| 39 | 58 | public function add_templates() { |