In my comments.php, I have a facebook plugin that creates entities instead of a string. So I would like to use html_entity_decode() on the comment_author() function... but it does not work? Any ideas.
In my comments.php, I have a facebook plugin that creates entities instead of a string. So I would like to use html_entity_decode() on the comment_author() function... but it does not work? Any ideas.
Will wp_specialchars_decode work? I have never used this function before?
I was able to use the get_comment_author to make this work. In case anybody is curios here is the code.
html_entity_decode(get_comment_author(), ENT_COMPAT, 'UTF-8');This topic has been closed to new replies.