How can i get the flagged nodes by the current anonymous user?
i wanna flag products for enquiry and then when on the contact page i wanna prepopulare the text field with the nodes that are flagged.

what is the api function i need?

Comments

quicksketch’s picture

$flagged_content = flag_get_user_flags('node', $nid);
Anonymous’s picture

thats helped me. thanks for the quick reply.

quicksketch’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.