I'm writing a protected-page plugin and want to disable comments on protected pages. I'm usually hooking into the_content but that's not enough for comments. I got into comments_array to block the existing comments, but how do I block comments_template?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
You can control whether comments appear by filtering the
|
|||
|
|
