bbp_toggle_topic_notice_admin

bbp_toggle_topic_notice_admin

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_toggle_topic_notice_admin') is found 1 times:

  • /includes/admin/topics.php line 767
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
            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 );