Tips and tricks
Global variables should be used restrictively - a way to resolve
If you need to use global variables restrictively and do not crowd the global variable namespace, you can have a single object.
A way to get around this is just find and replace all entries of the variables, and convert them in the object
Find
\$qucreative_([a-z|_]*?)( |=|,|\)|\!|\[|\.|-|;)
and replace with
\$qucreative_theme_data['$1']$2
regex
- you can do it in IDEs as PHPStorm
Recent Comments
- admin on Vimeo Thumbnail Generator
- Robert Moeck on Vimeo Thumbnail Generator
- Rainer on Vimeo Thumbnail Generator
- Video Gallery WordPress Plugin /w YouTube, Vimeo, Facebook pages | Berita Online on Vimeo Thumbnail Generator
- Use Browserify Globally as Watcher in PhpStorm [ add Babelify ] – Digital Zoom Studio on Setup a .babelrc in your user directory