-
Notifications
You must be signed in to change notification settings - Fork 1
Tags i18n
Q edited this page Dec 13, 2020
·
1 revision
Format: {_ String _}
i18n are strings which need to be translated via gettext
In the following simple example the string {_ string _} is defined, and when the markup is parsed, the string is passed to gettext via the WordPress function __() - https://developer.wordpress.org/reference/functions/__/
The data returned is modified using the WordPress __() function, so the string passed is made available for translation via gettext callbacks.