1e1ac57375
git-svn-id: https://develop.svn.wordpress.org/trunk@36389 602fd350-edb4-49c9-b593-d223f7449a82
17 lines
482 B
PHP
Executable File
17 lines
482 B
PHP
Executable File
<?php
|
|
function call_some_i18n_methods() {
|
|
__( 'Hello World' );
|
|
_e( 'Hello World' );
|
|
_n( 'Single', 'Plural', 1 );
|
|
_n_noop( 'Single Noop', 'Plural Noop', 1 );
|
|
_x( 'Hello World', 'Testing' );
|
|
_ex( 'Hello World', 'Testing' );
|
|
_nx( 'Hello World', 'Testing' );
|
|
_nx_noop( 'Hello World Noop', 'Testing' );
|
|
esc_attr__( 'Attribute' );
|
|
esc_html__( 'HTML' );
|
|
esc_attr_e( 'Attribute' );
|
|
esc_html_e( 'HTML' );
|
|
esc_attr_x( 'Attribute', 'Testing' );
|
|
esc_html_x( 'HTML', 'Testing' );
|
|
} |