1 0 Archive | Articles RSS feed for this section
post icon

In WordPress, prefix everything

“It’s a simple concept. Anything you create in the global namespace has the potential to conflict with a theme, another plugin (including one you wrote), and WordPress core itself. Thus, prefix everything with a unique-enough character set. For example, all functions I write always start with “nacin_”, and I make sure that my functions are unique across all of my plugins. Even when I send a code snippet over the wp-hackers mailing list, I use nacin_ or myplugin_.”

-Andrew Nacin

read more @ http://www.andrewnacin.com

Leave a Comment
13. May, 2010
post icon

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Leave a Comment
20. Apr, 2010