wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-builder-model.php
/*
     * Generate read more link for text module
     *
     * @param string $content
     * @return string generated load more link in the text.
	 */
Generate read more link for text module
@param string $content
@return string generated load more link in the text.
Generate read more link for text module @param string $content @return string generated load more link in the text .
public static function generate_read_more($content) {
	if (!empty($content) && strpos($content,'!--more')!==false && preg_match('/(<|&lt;)!--more(.*?)?--(>|&gt;)/', $content, $matches ) ) {
		$text = trim( $matches[2] );
		$read_more_text = ! empty( $text )?$text:apply_filters( 'themify_builder_more_text', __( 'More ', 'themify' ) );
		$content = str_replace( $matches[0], '<div class="more-text" style="display: none">', $content );
		$content .= '</div><a href="#" class="module-text-more">' . $read_more_text . '</a>';
	}
	return $content;
    }
public static function generate_read_more ( $ content ) { if ( ! empty ( $ content ) && strpos ( $ content , '!--more' ) !== false && preg_match ( '/(<|&lt;)!--more(.*?)?--(>|&gt;)/' , $ content , $ matches ) ) { $ text = trim ( $ matches [ 2 ] ) ; $ read_more_text = ! empty ( $ text ) ? $ text : apply_filters ( 'themify_builder_more_text' , __ ( 'More ' , 'themify' ) ) ; $ content = str_replace ( $ matches [ 0 ] , '<div class="more-text" style="display: none">' , $ content ) ; $ content .= '</div><a href="#" class="module-text-more">' . $ read_more_text . '</a>' ; } return $ content ; }
Generate read more link for text module
 @param string $content
 @return string generated load more link in the text.
Generate read more link for text module @param string $content @return string generated load more link in the text .