bbp_delete_rewrite_rules()

Delete a blogs rewrite rules, so that they are automatically rebuilt on the subsequent page load.

Description

Source

File: bp-forums/core/functions.php

function bbp_delete_rewrite_rules() {
	delete_option( 'rewrite_rules' );
}

Changelog

Changelog
Version Description
bbPress (r4198) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.