menu_item_parent) && !empty($menu_obj->type) && in_array(sanitize_key($menu_obj->type), array('custom', 'taxonomy', 'post_type_archive', 'post_type', 'icon', 'search'))) { return __CLASS__; } return $walker_class_name; } public function walk($elements, $max_depth) { $output = ''; foreach ($elements as $e) { $output .= $this->defaults($e); } return $output; wp_die(); } public function defaults($menu_obj, $menu_id = 0) { if (!isset($args->doing_ajax) && $menu_obj->_invalid) { ob_start(); ?>
  • title); ?>
  • title); ?>
    depth, $menu_obj, $menu_id); ?>