What is WriteFilterTabs supposed to do?
I am a little flummoxed by some ambiguous functionality. While creating a custom theme for a small community, I ran across a function called WriteFilterTabs in many files (particularly, categories/all.php).
After inspecting the code and some [url="http://vanillaforums.org/search?Search=WriteFilterTabs"]searching[/url], I am still stumped.
I know what it [b]outputs[/b] (All Discussions, My Discussions, My Drafts), I just don't know it's [i]purpose[/i]. It takes me to a page that includes all my discussions, comments, and drafts from the [i]entire[/i] site. However, both the placement (not in nav area) and the prominence (on every page of discussion views) of these "tabs" implies they would filter the [i]current[/i] view.
I don't have any particular problem with the current functionality. I just want to know if it is the [b]intent[/b] to make these filter the current view. If not, I also want to know if I can [b]safely[/b] get rid of these "filters" in my theme.
In short, what exactly do the Filter Tabs do? Can I safely exclude them from my custom theme?
Thank you in advance!
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.