How would you write a text string containing “Hello World!” in a way that makes it possible for someone else to translate the string into a different language?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
  • apply_filters( ‘Hello World!’, ‘mytextdomain’ );
  • __( ‘Hello World!’, ‘mytextdomain’ );
  • $string = “Hello World!”;
  • esc_html( ‘Hello World!’, ‘mytextdomain’ );
0/5 (0 Reviews)

Like this article?

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Related Posts