bbp_toggle_topic_notice_admin
bbp_toggle_topic_notice_admin
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_toggle_topic_notice_admin') is found 1 times:
- /includes/admin/topics.php line 767763764765766767768769770771772773
break
;
}
// Do additional topic toggle notice filters (admin side)
$message
= apply_filters(
'bbp_toggle_topic_notice_admin'
,
$message
,
$topic_id
,
$notice
,
$is_failure
);
$class
= (
$is_failure
=== true )
?
'error'
:
'updated'
;
// Add the notice
bbp_admin()->add_notice(
$message
,
$class
, true );