tag_clicked
php
boolean tag_clicked ( string $tag [, number $afterTime] )Returns whether the currently processed address clicked the specified $tag. If $afterTime is provided, only clicks after that timestamp are checked.
Warning
Requires an address context.
Example:
php
$tag = "produkt";
$daysAgo = 7;
$after = time()-($daysAgo*60*60*24);
$text = "clicked tag '".$tag."' within the last ".$daysAgo." days";
if (tag_clicked($tag,$after)) {
print("The address has ".$text);
} else {
print("The address has not ".$text);
}Result:
The address has clicked tag 'produkt' within the last 7 days