WordPress.org

Support

Support » Plugins and Hacks » PHPFreeChat » [Plugin: PHPFreeChat] Return instead of Echo Suggestion

[Plugin: PHPFreeChat] Return instead of Echo Suggestion

  • In its current form, if I put the shortcode after content, it displays the chat before the content because it is using the echo method rather than the return method. In the main and chat file I’d like to suggest changing this line…

    $chat->printChat();
    to this…

    $output = $chat->printChat(true);
    return $output;

    http://wordpress.org/extend/plugins/phpfreechat/

  • The topic ‘[Plugin: PHPFreeChat] Return instead of Echo Suggestion’ is closed to new replies.
Skip to toolbar