Hi Johan,
Thanks for the response. Indeed I am referring to shortcodes–sorry if that wasn’t clear. That would be a helpful feature, yes.
A slightly more elegant approach, which allows for arbitrary parameter names:
foreach($atts as $att=>$val) {
if($att != 'id') { $content = preg_replace("/\{\{ *" . $att . " *\}\}/i", $val, $content); }
}