[wp-hackers] two-underscore function arguments?
Anthony Cole
me at anthony.geek.nz
Wed Dec 2 09:02:22 UTC 2009
It's to do with i18n and internationalization.
-Anthony
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.
>
> --
> Ghodmode
> http://www.ghodmode.com
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list