Hook to check comments for enqueue_script
I tell you what, searching on Google is totally worthless when you need to look for information about plugin development related to comments. Yes, you can find page after page of the 10 best WP plugins, and you can find page after page of comment plugins, but it’s very hard to find what I need, so I’m asking here.
I currently use add_action(‘the_posts’, ‘x’) to look at posts so I can check for pre tags and use enqueue_script to load some js.
All I want to do is the same for comments. I have tried “the_comments”, but that doesn’t work. I only need this done on blog singles.
Any help, please!
- The topic ‘Hook to check comments for enqueue_script’ is closed to new replies.