bp_excerpt_append_text

  • apply_filters( 'bp_excerpt_append_text', $ending )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 394
      	);
      	$r = wp_parse_args( $options, $defaults );
      	extract( $r );
      
      	// Save the original text, to be passed along to the filter
      	$original_text = $text;
      
      	// Allow plugins to modify these values globally
      	$length = apply_filters( 'bp_excerpt_length', $length );
      	$ending = apply_filters( 'bp_excerpt_append_text', $ending );
      
      	// Remove shortcodes if necessary
      	if ( $filter_shortcodes )
      		$text = strip_shortcodes( $text );
      
      	// When $html is true, the excerpt should be created without including HTML tags in the
      	// excerpt length
      	if ( $html ) {
      		// The text is short enough. No need to truncate
      		if ( mb_strlen( preg_replace( '/<.*?>/', '', $text ) ) <= $length ) {
      

Comments are closed.