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’?
- The topic ‘Create a variable that is accessible in templates?’ is closed to new replies.