if I want to get a value of a custom field, now I have to use custom_xx
, like this:
$result = civicrm_api3('Contact', 'getvalue', [
'return' => "custom_11",
'id' => 123,
]);
As return
I'd like to use the name of field (civicrm_custom_field.name
) instead of id. Is it possibile?
Thanks.