/
home
/
techb158
/
immovalet.com
/
platform
/
themes
/
shopwise
/
widgets
/
custom-menu
/
/home/techb158/immovalet.com/platform/themes/shopwise/widgets/custom-menu
mkdir
upload
Name
Size
Mode
Actions
templates/
-
0755
rm
custom-menu.php
647
0644
edit
dl
rm
registration.php
93
0644
edit
dl
rm
Edit:
/home/techb158/immovalet.com/platform/themes/shopwise/widgets/custom-menu/custom-menu.php
(647B)
<?php use Botble\Widget\AbstractWidget; class CustomMenuWidget extends AbstractWidget { /** * The configuration array. * * @var array */ protected $config = []; /** * @var string */ protected $widgetDirectory = 'custom-menu'; /** * CustomMenuWidget constructor. * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException */ public function __construct() { parent::__construct([ 'name' => __('Custom Menu'), 'description' => __('Add a custom menu to your widget area.'), 'menu_id' => null, ]); } }
Save
__('Custom Menu'), 'description' => __('Add a custom menu to your widget area.'), 'menu_id' => null, ]); } }