I would like to ask:
What is the difference between edit_post_link('Edit'); and edit_post_link(__('Edit'));?
Thanks in advance for your help!
I would like to ask:
What is the difference between edit_post_link('Edit'); and edit_post_link(__('Edit'));?
Thanks in advance for your help!
The second one is prepared for localization (l10n), i.e. it must come from a theme that is "internationalized" (i18n).
More details:
http://codex.wordpress.org/Translating_WordPress#Localization_Technology
Thank you for the reply. Do the parameters for the former stand for the latter too?
e.g. edit_post_link(__('edit', '<p>', '</p>'));
Because my tests show they don't...
Never checked, although they should. However, if it doesn't work and you don't intend to distribute your theme to international users - you don't really need it.
I see.
Again, thank you!
This topic has been closed to new replies.