bbp_edit_forum_pre_content

bbp_edit_forum_pre_content

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_edit_forum_pre_content') is found 1 times:

  • /includes/forums/functions.php line 480
    		$forum_content = $_POST['bbp_forum_content'];
    	}
    
    	// Filter and sanitize
    	$forum_content = apply_filters( 'bbp_edit_forum_pre_content', $forum_content, $forum_id );
    
    	// No forum content
    	if ( empty( $forum_content ) ) {
    		bbp_add_error( 'bbp_edit_forum_content', __( '<strong>Error</strong>: Your forum description cannot be empty.', 'bbpress' ) );
    	}
    
    

See this hook used in plugins: