| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | 'is_activated_slug' => 'run_sweet_energy_efficiency', |
| 73 | 73 | ); |
| 74 | 74 | |
| 75 | 75 | $this->addons [] = array( |
| 76 | - 'title' => __('Multy Currency', 'wpdirectorykit'), | |
| 76 | + 'title' => __('Multi Currency', 'wpdirectorykit'), | |
| 77 | 77 | 'slug' => 'wdk_currency_conversion', |
| 78 | 78 | 'is_activated_slug' => 'run_wdk_currency_conversion', |
| 79 | 79 | ); |
| 80 | 80 | |
| @@ -326,8 +326,20 @@ | ||
| 326 | 326 | 'label' => '<span class="color-wdk icon icon-dyn-logo-wdk pull-right ml-1"></span> ' . $this->name, |
| 327 | 327 | 'tab' => 'advanced', |
| 328 | 328 | ] |
| 329 | 329 | ); |
| 330 | + | |
| 331 | + | |
| 332 | + $element->add_control( | |
| 333 | + 'class_hider_addons_important_note', | |
| 334 | + [ | |
| 335 | + 'label' => '', | |
| 336 | + 'type' => \Elementor\Controls_Manager::RAW_HTML, | |
| 337 | + 'raw' => esc_html__('Element will be hidden when addon not installed/activated', 'wpdirectorykit'), | |
| 338 | + 'content_classes' => 'wdk_elementor_hint', | |
| 339 | + 'separator' => 'after', | |
| 340 | + ] | |
| 341 | + ); | |
| 330 | 342 | |
| 331 | 343 | foreach($this->addons as $addon) { |
| 332 | 344 | $element->add_control( |
| 333 | 345 | 'wdk_addon_hide_'.wmvc_show_data('slug', $addon, '', TRUE, TRUE), |