Reputation: 1
I use esc_html__ in my below code:
esc_html__( 'Best & Sea', 'textdomain' );
When I use the above code the special character & is not displayed.
How to fix this issue?
Upvotes: -2
Views: 117
Reputation: 55
Try
echo html_entity_decode(esc_html__('Best & Sea', 'textdomain'));
Upvotes: -2