get_links
php
array get_links(integer|boolean $shipmentId = false, string|boolean $type = false)Returns the links from the selected mailing.
Parameters:
$shipmentId- mailing ID$type- the format/type of links to return. Allowed values:'txt','html'or'amp'. If omitted or set to an unrecognized value, returns a combined array of links of all types.
Example:
php
print_r(get_links(1));Result:
Array
(
[0] => %www_version%
[1] => http://www.sare.pl/
[2] => ScriptSpot:HTML:3
[3] => http://wp.pl
[4] => http://onet.pl
[5] => http://moto.wp.pl
[6] => ScriptSpot:HTML:2
[7] => ScriptSpot:HTML:1
)