escape translated text esc_attr_e prints and escapes translated text. #wordpress#php esc_attr_e('Some text'); copy