Home › Forums › ACF PRO › Fields to commentform › Reply To: Fields to commentform
A shortcut, if you want to call it that, would be to construct your own MySQL Query using $wpdb https://codex.wordpress.org/Class_Reference/wpdb. This would allow you to join the posts table, the comments and the comment meta table and return posts that have specific values associated with comments. It would perform faster, but would take more work to get working. I’m not very proficient at using $wpdb.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.