CODE
function securetotal() {
return $secure_total;
}
add_shortcode('secure', 'securetotal');
return $secure_total;
}
add_shortcode('secure', 'securetotal');
$secure_total is the predefined variable that I need to be displayed. I can display simple text instead of the variable, but the variable is not transferring any results. Am I missing something? Any ideas?
BTW, I did post this on the Wordpress forum, but didn't get any replies, so I'm hoping someone here can shed light on it. Help is much appreciated.
