[wp-hackers] two-underscore function arguments?
Ghodmode
ghodmode at ghodmode.com
Wed Dec 2 08:57:15 UTC 2009
What's the syntax of the __() function? Can someone send me a link to
the documentation that explains it?
I'm looking through the code of an existing WP plugin and I hope to be
able to change it to meet my needs. I've seen the __() function for the
first time and I'm wondering exactly how it works. Here's an example:
__('Duration', 'wpevents')
Searching the web tells me it has something to do with translation, but
all of the examples I've seen only have one argument. What's that
second argument?
Thank you.
--
Ghodmode
http://www.ghodmode.com
More information about the wp-hackers
mailing list