Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Overlays on Top of Featured Image Previews › Reply To: Overlays on Top of Featured Image Previews
December 23, 2019 at 10:59 am
#25139
Keymaster
Hi Don,
No, the $r is a PHP object of the currently printend result – one single post, or other result type. The has_term() checks if the currently parsed item belongs to the given taxonomy term by their post ID ($r->id). The $r->id is always the currently looped post ID or item ID (user ID, taxonomy term ID etc..) depending on the result type.