| @@ -31,12 +31,8 @@ | ||
| 31 | 31 | * @var \WP_Widget |
| 32 | 32 | */ |
| 33 | 33 | private $_widget_instance = null; |
| 34 | 34 | |
| 35 | - public function show_in_panel() { | |
| 36 | - return false; | |
| 37 | - } | |
| 38 | - | |
| 39 | 35 | public function hide_on_search() { |
| 40 | 36 | return true; |
| 41 | 37 | } |
| 42 | 38 | |
| @@ -123,22 +119,8 @@ | ||
| 123 | 119 | * @return array Widget style dependencies. |
| 124 | 120 | */ |
| 125 | 121 | public function get_style_depends(): array { |
| 126 | 122 | return [ 'e-swiper' ]; |
| 127 | - } | |
| 128 | - | |
| 129 | - /** | |
| 130 | - * Get script dependencies. | |
| 131 | - * | |
| 132 | - * Retrieve the list of script dependencies the widget requires. | |
| 133 | - * | |
| 134 | - * @since 3.27.0 | |
| 135 | - * @access public | |
| 136 | - * | |
| 137 | - * @return array Widget script dependencies. | |
| 138 | - */ | |
| 139 | - public function get_script_depends(): array { | |
| 140 | - return [ 'swiper' ]; | |
| 141 | 123 | } |
| 142 | 124 | |
| 143 | 125 | public function get_help_url() { |
| 144 | 126 | return ''; |