[Resolved] [Plugin: bbPress Topics for Posts] PHP: how to know if a post has "topics for posts" enabl
I wish to make the comment form appear on posts and custom post types posts only IF the “Topics for posts” plugin IS active and IF it has been set for that specific post. Ie, a specific post has been set to open a forum topic to replace its comments.
To check if the plugin is active, it’s easy (class_exists / function_exists), but I don’t know what variable to look for to check if a post has “Topics for Posts” set.
If not set, I don’t want the comment box to appear at all, since I’m exclusively using forum threads/discussions to replace WP standard commenting system.
- The topic ‘[Resolved] [Plugin: bbPress Topics for Posts] PHP: how to know if a post has "topics for posts" enabl’ is closed to new replies.