Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Escape all translations with
- */
- __( ‘Some String’, ‘text-domain’ ); _e( ‘Some string’, ‘text-domain’ );.
- /**
- * When there is no HTML use:
- */
- esc_html__( ‘Some String’, ‘text-domain’ ); esc_html_e( ‘Some String’, ‘text-domain’ );
- /**
- * For some HTML:
- */
- wp_kses( __( ‘Some String something’, ‘text-domain’ ), $allowed_html_array );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement