bbp_activity_reply_create_excerpt

  • apply_filters( 'bbp_activity_reply_create_excerpt', bp_create_excerpt( $reply_content ),     $reply_content )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-extend-buddypress.php :: Trac Source Line: 561
      		// Forum
      		$forum_permalink = bbp_get_forum_permalink( $forum_id );
      		$forum_title     = bbp_get_forum_title    ( $forum_id );
      		$forum_link      = '<a href="' . $forum_permalink . '" title="' . $forum_title . '">' . $forum_title . '</a>';
      
      		// Activity action & text
      		$activity_text    = sprintf( __( '%1$s replied to the topic %2$s in the forum %3$s', 'bbpress' ), $user_link, $topic_link, $forum_link    );
      		$activity_action  = apply_filters( 'bbp_activity_reply_create',         $activity_text, $user_id,   $reply_id,   $topic_id      );
      		$activity_content = apply_filters( 'bbp_activity_reply_create_excerpt', bp_create_excerpt( $reply_content ),     $reply_content );
      
      		// Compile the activity stream results
      		$activity = array(
      			'user_id'           => $user_id,
      			'action'            => $activity_action,
      			'content'           => $activity_content,
      			'primary_link'      => $reply_url,
      			'type'              => $this->reply_create,
      			'item_id'           => $reply_id,
      			'secondary_item_id' => $topic_id,
      

Comments are closed.