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
    				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 );