title: Editing specific element in Wordpress menu with nav_menu_item_id
body: <p>I want to add number of items in wishlist next to li element in my "menu_main". To problem is I can't how to edit that specific element. I tried sth like </p>
  
  <pre><code>add_filter( 'nav_menu_item_id', 'filter_function_name_5519', 10, 3 );
  function filter_function_name_5519( $menu_id, $item, $args ){
      // filter...
      if (!is_admin() &amp;&amp; $args-&gt;theme_location == 'menu_main' &amp;&amp; 
  yith_wcwl_count_products() &amp;&amp; $menu_id == 'menu-item-5519') {
          $item .= '&lt;li&gt;' . yith_wcwl_count_products() . '&lt;/li&gt;';
      }
      return $item;
  }
  </code></pre>
  
  <p>But that doesn't work. Important for me is to echo <code>yith_wcwl_count_products()</code> within li element, because I need to position it with css via position relative and absolute.</p>