At this time, the category that contains private messages is not shown in the sidebar. Even when users are logged in, the category isn’t shown.
Is it possible to show the category (even when there are only private posts in it) in the sidebar (when a user is logged in)?
Kind regards,
Inez
]]>'hide_empty' => false,
element to the passed arguments array.
You can add conditional logic to your filter callback which only adds the argument when the current user is logged in.
]]>