bbp_get_topic_spam_link
bbp_get_topic_spam_link
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, 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_spam_link') is found 1 times:
- /includes/topics/template.php line 282328192820282128222823282428252826282728282829
$uri
= wp_nonce_url(
$uri
,
'spam-topic_'
.
$topic
->ID );
$retval
=
$r
[
'link_before'
] .
'<a href="'
. esc_url(
$uri
) .
'" class="bbp-topic-spam-link">'
.
$display
.
'</a>'
.
$r
[
'link_after'
];
// Filter & return
return
apply_filters(
'bbp_get_topic_spam_link'
,
$retval
,
$r
,
$args
);
}
/**
* Output the link to go directly to the reply form
*
* @since 2.4.0 bbPress (r4966)