bbp_activity_topic_create

bbp_activity_topic_create

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_activity_topic_create') is found 1 times:

  • /includes/extend/buddypress/activity.php line 402
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    $forum_link      = '<a href="' . $forum_permalink . '">' . $forum_title . '</a>';
     
    // Activity action & text
    $activity_text    = sprintf( esc_html__( '%1$s started the topic %2$s in the forum %3$s', 'bbpress' ), $user_link, $topic_link, $forum_link );
    $activity_action  = apply_filters( 'bbp_activity_topic_create',         $activity_text, $user_id,   $topic_id,   $forum_id );
    $activity_content = apply_filters( 'bbp_activity_topic_create_excerpt', $topic_content                                     );
     
    // Compile and record the activity stream results
    $activity_id = $this->record_activity( array(
        'id'                => $this->get_activity_id( $topic_id ),
        'user_id'           => $user_id,