How do I create a variable in a plugin that is accessible in templates?
For instance, if I set $variable = 'stuff'; then I type <?php echo $variable; ?> in a template, how do I get it to output 'stuff'?
How do I create a variable in a plugin that is accessible in templates?
For instance, if I set $variable = 'stuff'; then I type <?php echo $variable; ?> in a template, how do I get it to output 'stuff'?
This topic has been closed to new replies.