| @@ -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 | |
| @@ -109,36 +105,8 @@ | ||
| 109 | 105 | * @return array Widget keywords. |
| 110 | 106 | */ |
| 111 | 107 | public function get_keywords() { |
| 112 | 108 | return [ 'wordpress', 'widget' ]; |
| 113 | - } | |
| 114 | - | |
| 115 | - /** | |
| 116 | - * Get style dependencies. | |
| 117 | - * | |
| 118 | - * Retrieve the list of style dependencies the widget requires. | |
| 119 | - * | |
| 120 | - * @since 3.26.0 | |
| 121 | - * @access public | |
| 122 | - * | |
| 123 | - * @return array Widget style dependencies. | |
| 124 | - */ | |
| 125 | - public function get_style_depends(): array { | |
| 126 | - 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 | 109 | } |
| 142 | 110 | |
| 143 | 111 | public function get_help_url() { |
| 144 | 112 | return ''; |