source/php/Module/Index/Index.php
public function parseExcerpt($postContent)
    {
        if (strpos($postContent, "<!--more-->")) {
            return strip_tags(substr($postContent, 0, strpos($postContent, "<!--more-->")));
        }
        return wp_trim_words(strip_tags(apply_filters('get_the_excerpt', $postContent)), 55, "&hellip;");
    }
public function parseExcerpt($postContent)
    {
        if (strpos($postContent, "<!--more-->")) {
            return strip_tags(substr($postContent, 0, strpos($postContent, "<!--more-->")));
        }
        return wp_trim_words(strip_tags(apply_filters('get_the_excerpt', $postContent)), 55, "&hellip;");
    }
public function parseExcerpt ( $ postContent ) { if ( strpos ( $ postContent , "<!--more-->" ) ) { return strip_tags ( substr ( $ postContent , 0 , strpos ( $ postContent , "<!--more-->" ) ) ) ; } return wp_trim_words ( strip_tags ( apply_filters ( 'get_the_excerpt' , $ postContent ) ) , 55 , "&hellip;" ) ; }
Parse the excerpt from the content.
@param  [string] $preferdValue       [The value preferd to output]
@return [string] $secondaryValue     [The secondary fallback value]
Parse the excerpt from the content .