Skip to main content
3 events
when toggle format what by license comment
Oct 30, 2016 at 18:43 comment added C C It's a constant...sort of a global variable. You could also create a simple function that returns the same exact string if you don't like constants. Either way, and neither one is a big deal...this type of thing is done all the time. Just pick unique names for your constants or functions declared outside a PHP class name scope.
Oct 30, 2016 at 18:18 comment added Dr. Chocolate Cool! Thanks for the response! Is the constant considered a global variable? And is that even a big deal in this situation? Is there any built in way? Like set_blog_info()?
Oct 30, 2016 at 18:15 history answered C C CC BY-SA 3.0