bbp_topic_notices

bbp_topic_notices

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_topic_notices') is found 1 times:

  • /includes/topics/template.php line 3076
    			break;
    	}
    
    	// Filter notice text and bail if empty
    	$notice_text = apply_filters( 'bbp_topic_notices', $notice_text, $topic_status, bbp_get_topic_id() );
    	if ( empty( $notice_text ) ) {
    		return;
    	}
    
    	bbp_add_error( 'topic_notice', $notice_text, 'message' );
    }