← All changes
|
includes/widgets/Phone_Call_Button/Phone_Call_Button.php
+5
-16
51.1.44
→
51.1.86
View file →
| @@ -96,8 +96,13 @@ | ||
| 96 | 96 | { |
| 97 | 97 | return ['phone', 'call', 'button', 'contact']; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | + public function get_custom_help_url() | |
| 101 | + { | |
| 102 | + return 'mailto:[email protected]?subject=Bug Report - King Addons&body=Please describe the issue'; | |
| 103 | + } | |
| 104 | + | |
| 100 | 105 | /** |
| 101 | 106 | * Register controls. |
| 102 | 107 | * |
| 103 | 108 | * @return void |
| @@ -583,24 +588,8 @@ | ||
| 583 | 588 | 'size' => 0.35, |
| 584 | 589 | ], |
| 585 | 590 | 'selectors' => [ |
| 586 | 591 | '{{WRAPPER}} .king-addons-phone-call__button' => '--kng-phone-effect-opacity: {{SIZE}};', |
| 587 | - ], | |
| 588 | - ] | |
| 589 | - ); | |
| 590 | - | |
| 591 | - $this->add_control( | |
| 592 | - 'kng_disable_shadow', | |
| 593 | - [ | |
| 594 | - 'label' => esc_html__('Disable Box Shadow', 'king-addons'), | |
| 595 | - 'type' => Controls_Manager::SWITCHER, | |
| 596 | - 'label_on' => esc_html__('Yes', 'king-addons'), | |
| 597 | - 'label_off' => esc_html__('No', 'king-addons'), | |
| 598 | - 'return_value' => 'yes', | |
| 599 | - 'default' => '', | |
| 600 | - 'selectors' => [ | |
| 601 | - '{{WRAPPER}} .king-addons-phone-call__button' => 'box-shadow: none;', | |
| 602 | - '{{WRAPPER}} .king-addons-phone-call__button:hover' => 'box-shadow: none;', | |
| 603 | 592 | ], |
| 604 | 593 | ] |
| 605 | 594 | ); |
| 606 | 595 | |