Call Shortcode Attribute Value within another function
First: You return before you add the values to the $outvalue, so this part of the code is never reached. Second: You have typos, when adding the values to $outvalue. This function works for me: function myVal($attr, $content = null) { extract(shortcode_atts(array( ‘var1’ => ”, ‘var2’ => ”, ‘var3’ => ”, ‘var4’ => ”, ‘var5’ … Read more