Quantcast
Channel: WordPress Themes – Digital Zoom Studio
Viewing all articles
Browse latest Browse all 9

Global variables should be used restrictively – a way to resolve

$
0
0
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

Continue reading


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images