The menu item contains data that should only be visible to the wordpress author of the data.
<a id="listing_tab_documents_toggle" data-section-id="documents" class="listing-tab-toggle toggle-tab-type-custom" data-options="{}">
Is there any way to display this id only for the wp author?
Create a separate menu for logged user and add this link into that menu only and call menu with condition of
is_user_logged_in()
and another options you can hide with CSS as well as like default this:a#listing_tab_documents_toggle{display:none;} body.logged-in a#listing_tab_documents_toggle{display:block;}