| Server IP : 157.230.181.24 / Your IP : 216.73.217.11 Web Server : Apache/2.4.58 (Ubuntu) System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/conductive-digital.bak/app/walkers/ |
Upload File : |
<?php
//namespace Theme\Walkers;
//
//use Walker;
//
//class MainMenuWalker extends Walker {
//
// // Tell Walker where to inherit it's parent and id values
// var $db_fields = [
// 'parent' => 'menu_item_parent',
// 'id' => 'db_id',
// ];
//
// /**
// * At the start of each element, output a <li> and <a> tag structure.
// *
// * Note: Menu objects include url and title properties, so we will use those.
// */
// function start_el(&$output, $item, $depth = 0, $args = [], $id = 0) {
// dd('yes');
//
// $output .= sprintf("\n<li><a href=\"%s\"%s>%s</a></li>\n",
// $item->url,
// ($item->object_id === get_the_ID()) ? ' class="current"' : '',
// $item->title
// );
// }
//
//}