pass parameters from shortcode to callback

for issue #7