Hi,
I'd like to have a custom token which can either send or receive arguments. either way.
Example:
[node:url:args]
[node:url:args:1]
[node:url:args:2]
rather than just a monolithic:
[node:url]
in other words, it sends arguments array into the php code of the custom token. Or, possibly, alternatively, it is able to parse an array which my code returns, and grab $array[1], $array[2].
is anything like this possible with the token_custom module?
I am not referring to [node:url], by the way. I mean [custom:mytoken:args] to send or receive an arg1 and arg2.
thanks.
Closed: outdated
2.0
Code