Add a new custom metadata field to be indexed for the account.
Signature
public function add(string
$name,
[string
$view_template = NULL] )
Parameters
$name
—
string
a unique identifier for the metadata field
$view_template
—
string
optional Mustache template to control how the metadata is rendered in your activity log
Returns
struct
the information saved about the new metadata field - name string the unique identifier of the metadata field to update
- state string the current state of the metadata field, one of "active", "delete", or "index"
- view_template string Mustache template to control how the metadata is rendered in your activity log