# quadmenu/1.8.9/includes/frontend/walker/QuadMenuItemIcon.class.php

QuadMenu – Mega Menu, version 1.8.9. 27 lines.

- Page: https://pluginprobe.com/plugins/quadmenu/1.8.9/code/includes/frontend/walker/QuadMenuItemIcon.class.php
- Raw: https://pluginprobe.com/plugins/quadmenu/1.8.9/raw/includes/frontend/walker/QuadMenuItemIcon.class.php
- Modified: 2018-11-10T15:50:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/quadmenu/1.8.9/code/includes/frontend/walker/QuadMenuItemIcon.class.php#L10-L20`.

```php
<?php

if (!defined('ABSPATH')) {
  die('-1');
}

class QuadMenuItemIcon extends QuadMenuItemDefault {

  protected $type = 'icon';

  function init() {
    $this->args->has_caret = false;
    //$this->args->has_dropdown = $this->has_children = true;
    $this->args->has_title = $this->args->link_before = $this->args->link_after = false;
  }

  function get_title() {
    ob_start();
    ?>
    <span class="quadmenu-text"></span>
    <?php

    return ob_get_clean();
  }

}

```
