bbp_delete_options()
Delete default options
Description Description
Hooked to bbp_uninstall, it is only called once when bbPress is uninstalled. This is destructive, so existing settings will be destroyed.
Source Source
File: includes/core/options.php
function bbp_delete_options() { // Add default options foreach ( array_keys( bbp_get_default_options() ) as $key ) { delete_option( $key ); } // Allow previously activated plugins to append their own options. do_action( 'bbp_delete_options' ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |