getLastPerformedDate()
Overview
public string function getLastPerformedDate(
required string type
, required string action
, string userId = ""
, array identifiers
)
Returns the date that an action was last performed by the given user / visitor
Arguments
Name | Type | Required | Description |
---|---|---|---|
type | string | Yes | Type of the action |
action | string | Yes | Action ID |
userId | string | No (default="") | ID of the user who performed the action (if blank or ommitted, the current visitor ID will be used instead) |
identifiers | array | No | Array of identifiers with which to filter the actions |