bbp_get_topic_merge_link
bbp_get_topic_merge_link
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_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)