| @@ -147,8 +147,32 @@ | ||
| 147 | 147 | ); |
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | + * Placeholder for Pro: Add Lottie logo controls. | |
| 152 | + * | |
| 153 | + * Pro overrides this method to inject additional logo controls. | |
| 154 | + * | |
| 155 | + * @return void | |
| 156 | + */ | |
| 157 | + public function add_lottie_logo_controls(): void | |
| 158 | + { | |
| 159 | + // Intentionally empty in Free. | |
| 160 | + } | |
| 161 | + | |
| 162 | + /** | |
| 163 | + * Placeholder for Pro: Add current menu item style controls. | |
| 164 | + * | |
| 165 | + * Pro overrides this method to add advanced current menu item styling. | |
| 166 | + * | |
| 167 | + * @return void | |
| 168 | + */ | |
| 169 | + public function add_current_menu_item_controls(): void | |
| 170 | + { | |
| 171 | + // Intentionally empty in Free. | |
| 172 | + } | |
| 173 | + | |
| 174 | + /** | |
| 151 | 175 | * Placeholder for Pro: Add controls for mobile menu layout. |
| 152 | 176 | * |
| 153 | 177 | * @return void |
| 154 | 178 | */ |
| @@ -371,8 +395,11 @@ | ||
| 371 | 395 | ], |
| 372 | 396 | ] |
| 373 | 397 | ); |
| 374 | 398 | |
| 399 | + // Allow Pro to inject additional logo controls (e.g., Lottie logo type). | |
| 400 | + $this->add_lottie_logo_controls(); | |
| 401 | + | |
| 375 | 402 | $this->add_control( |
| 376 | 403 | 'menu_layout', |
| 377 | 404 | [ |
| 378 | 405 | 'label' => esc_html__('Menu Layout', 'king-addons'), |
| @@ -1158,8 +1185,11 @@ | ||
| 1158 | 1185 | |
| 1159 | 1186 | $this->end_controls_section(); |
| 1160 | 1187 | |
| 1161 | 1188 | $this->add_menu_items_hover_effects_controls(); |
| 1189 | + | |
| 1190 | + // Allow Pro to add current menu item styling controls. | |
| 1191 | + $this->add_current_menu_item_controls(); | |
| 1162 | 1192 | } |
| 1163 | 1193 | |
| 1164 | 1194 | /** |
| 1165 | 1195 | * Render the widget output on the frontend. |