• 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter digitalbart

    (@digitalbart)

    Will wp_specialchars_decode work? I have never used this function before?

    Thread Starter digitalbart

    (@digitalbart)

    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');
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘comment author wp-facebook entities’ is closed to new replies.