Authored by:jmucchiello on Wednesday, February 09 2011 @ 11:54 PM EST
Re: Autotags I wouldn't bother making it "3 parameters". Just add a function to parse the p0 text. So the user could do this in an autotag:
[ tag:abc key1:value1 key2:value2 key3:v3 etc ]
The function AUTOTAG_ParseTag() where you pass the $p0 parameter from the autotag plugin and it returns an array { 0=>abc, key1=> value1, key2=>value2, etc }
The following comments are owned by whomever posted them. This site is not responsible for what they say.
I wouldn't bother making it "3 parameters". Just add a function to parse the p0 text. So the user could do this in an autotag:
[ tag:abc key1:value1 key2:value2 key3:v3 etc ]
The function AUTOTAG_ParseTag() where you pass the $p0 parameter from the autotag plugin and it returns an array { 0=>abc, key1=> value1, key2=>value2, etc }