Changyan_Handler::getCommentsTemplate PHP Method

getCommentsTemplate() public method

return a template to be used for comment
public getCommentsTemplate ( $default_template )
    public function getCommentsTemplate($default_template)
    {
        global $wpdb, $post;
        if (!(is_singular() && (have_comments() || 'open' == $post->comment_status))) {
            return $default_template;
        }
        return dirname(__FILE__) . '/comments_sohu.php';
    }