Hello
i’ve created some filters/action within my theme/plugins that should be registered only if we’re in forum page.
I would avoid ugly url checks. Is there a way to do it via global variables or other methods?
Hello
i’ve created some filters/action within my theme/plugins that should be registered only if we’re in forum page.
I would avoid ugly url checks. Is there a way to do it via global variables or other methods?
https://simple-press.com/documentation/codex/api/template-functions-and-the-api/api-helper-functions/
Look at the ‘Primitives’ section.
Ok sp_is_forumpage , it’s not documented there but i’ve checked the code.
Thank you