bbp_new_reply_pre_content

bbp_new_reply_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_new_reply_pre_content') is found 1 times:

  • /includes/replies/functions.php line 294
    		$reply_content = $_POST['bbp_reply_content'];
    	}
    
    	// Filter and sanitize
    	$reply_content = apply_filters( 'bbp_new_reply_pre_content', $reply_content );
    
    	// No reply content
    	if ( empty( $reply_content ) ) {
    		bbp_add_error( 'bbp_reply_content', __( '<strong>Error</strong>: Your reply cannot be empty.', 'bbpress' ) );
    	}
    
    

See this hook used in plugins: