Classified Ads exposes two tokens, based on a user object:
ads
: a plain text list of Classified Ads by
the user (max 10). Best for email notifications and Drush commands.classified-ads-url
: the URL of a user's ads list. Can be used
to point to their page on the site, from another page or a notification
email.
The optional classified_notifications
module uses these tokens,
and its code in function classified_notifications_mail()
can be used as an example of how to use them, as default notification
messages include such tokens along with core tokens. These default messages
are defined in file classified_utils.inc
, function
_classified_get_vars()
.