Linkcode encode
From TMM Wiki
Jump to navigationJump to searchlinkcode_encode
Create a NATS Code or a full hyperlink with the NATS Code.
- string linkcode_encode(integer campaignid, integer programid, integer siteid[, bool full_url=FALSE])
Builds a linkcode for the campaignid, programid, siteid specified. Uses the account's encoded/unencoded linkcode setting to build the right type of code.
If full_url is TRUE, it will return the full link URL instead of just the NATS code.