add line break in the output of esc_html__
-
0
I would like to add line break in the output of esc_html__ wordpress function. The original code is:
echo "" . esc_html__( 'We have just sent you an email with instructions to reset your password. If you do not receive a reset email or password email please look in your spam folder.', 'socialize' ) . "";
It outputs:
We have just sent you an email with instructions to reset your password. br If you do not receive a reset email or password email please look in your spam folder.
I would like to have it like this: We have just sent you an email with instructions to reset your password. If you do not receive a reset email or password email please look in your spam folder.
Where this second line: If you do not receive a reset email or password email please look in your spam folder. must be in bold and red
Thanks in Advance ST
The page I need help with: [log in to see the link]
- The topic ‘add line break in the output of esc_html__’ is closed to new replies.