bbp_get_topic_merge_link

bbp_get_topic_merge_link

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_topic_merge_link') is found 1 times:

  • /includes/topics/template.php line 2771
    		$uri    = add_query_arg( array( 'action' => 'merge' ), bbp_get_topic_edit_url( $topic->ID ) );
    		$retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" class="bbp-topic-merge-link">' . $r['merge_text'] . '</a>' . $r['link_after'];
    
    		// Filter & return
    		return apply_filters( 'bbp_get_topic_merge_link', $retval, $r, $args );
    	}
    
    /**
     * Output the spam link of the topic
     *
     * @since 2.0.0 bbPress (r2727)