[wp-hackers] two-underscore function arguments?
me at anthony.geek.nz
Wed Dec 2 09:02:22 UTC 2009
It's to do with i18n and internationalization.
On 2/12/2009, at 9:57 PM, Ghodmode wrote:
> 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.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers