Support

Account

Home Forums ACF PRO ACF on Custom Post's comments Reply To: ACF on Custom Post's comments

  • Hi guys,

    You need to create your own rule to match it. This page should give you more idea about it: http://www.advancedcustomfields.com/resources/custom-location-rules/.

    When matching the rule, you can get the comment id from $options['comment'] variable. After that, you can use the get_comment() function to get the comment object and check if the comment is in a certain custom post type.

    I hope this makes sense.