bp_create_excerpt

  • apply_filters( 'bp_create_excerpt', $truncate, $original_text, $length, $options )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 487
      	}
      	$truncate .= $ending;
      
      	if ( $html ) {
      		foreach ( $openTags as $tag ) {
      			$truncate .= '</' . $tag . '>';
      		}
      	}
      
      	return apply_filters( 'bp_create_excerpt', $truncate, $original_text, $length, $options );
      
      }
      add_filter( 'bp_create_excerpt', 'stripslashes_deep' );
      add_filter( 'bp_create_excerpt', 'force_balance_tags' );
      
      function bp_total_member_count() {
      	echo bp_get_total_member_count();
      }
      	function bp_get_total_member_count() {
      		return apply_filters( 'bp_get_total_member_count', bp_core_get_total_member_count() );
      

Hook: add_filter: bp_create_excerpt instances (2)

  • add_filter( 'bp_create_excerpt', 'stripslashes_deep' )
    $tag: bp_create_excerpt
    $function_to_add: stripslashes_deep
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 490
      	if ( $html ) {
      		foreach ( $openTags as $tag ) {
      			$truncate .= '</' . $tag . '>';
      		}
      	}
      
      	return apply_filters( 'bp_create_excerpt', $truncate, $original_text, $length, $options );
      
      }
      add_filter( 'bp_create_excerpt', 'stripslashes_deep' );
      add_filter( 'bp_create_excerpt', 'force_balance_tags' );
      
      function bp_total_member_count() {
      	echo bp_get_total_member_count();
      }
      	function bp_get_total_member_count() {
      		return apply_filters( 'bp_get_total_member_count', bp_core_get_total_member_count() );
      	}
      	add_filter( 'bp_get_total_member_count', 'bp_core_number_format' );
      
  • add_filter( 'bp_create_excerpt', 'force_balance_tags' )
    $tag: bp_create_excerpt
    $function_to_add: force_balance_tags
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 491
      		foreach ( $openTags as $tag ) {
      			$truncate .= '</' . $tag . '>';
      		}
      	}
      
      	return apply_filters( 'bp_create_excerpt', $truncate, $original_text, $length, $options );
      
      }
      add_filter( 'bp_create_excerpt', 'stripslashes_deep' );
      add_filter( 'bp_create_excerpt', 'force_balance_tags' );
      
      function bp_total_member_count() {
      	echo bp_get_total_member_count();
      }
      	function bp_get_total_member_count() {
      		return apply_filters( 'bp_get_total_member_count', bp_core_get_total_member_count() );
      	}
      	add_filter( 'bp_get_total_member_count', 'bp_core_number_format' );
      
      function bp_blog_signup_allowed() {
      

Comments are closed.