Falcon_Connector_WordPress::get_comment_content_as_text PHP Метод

get_comment_content_as_text() защищенный Метод

protected get_comment_content_as_text ( $comment )
    protected function get_comment_content_as_text($comment)
    {
        $content = apply_filters('comment_text', get_comment_text($comment));
        // Sanitize the HTML into text
        $content = apply_filters('bbsub_html_to_text', $content);
        // Build email
        $text = $content . "\n\n" . $this->get_text_footer(get_comment_link($comment));
        /**
         * Filter the email content
         *
         * Use this to change document formatting, etc
         *
         * @param string $text Text content
         * @param WP_Post $post Post the content is generated from
         */
        return apply_filters('falcon.connector.wordpress.comment_content_text', $text, $comment);
    }