Re: How do I refer to current user’s name?
OK. Thanks. It turned out bb_head() was only called (as part of an if ()
statement) when the page is a topic. So I see that my above plugin works on a topic page. Awesome.
My long-term project is a forum-access plugin where you can grant or restrict access to individual users. Not roles-based.
Does anyone know a hook to use for intercepting an individual forum listing in front-page.php? You’d think get_forum
would work, but for some reason … anyway.
I’ll keep you posted on my adventures of learning to write plugins.