bp_dd_clear_db()

Delete all imported information.

Description

Source

File: bp-core/bp-core-tools-default-data.php

150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
function bp_dd_clear_db() {
 
    // delete all BB groups
    bp_dd_delete_dummy_groups();
 
    // delete all the forums
    bp_dd_delete_dummy_forum();
 
    // delete all the topic
    bp_dd_delete_dummy_topic();
 
    // Delete reply
    bp_dd_delete_dummy_reply();
 
    bp_dd_delete_dummy_members_related_data();
 
    bp_dd_delete_import_records();
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 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.