mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
- options optimization;
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ if ( ! empty( $delete_options ) ) {
|
||||
//remove core settings
|
||||
$settings_defaults = UM()->config()->settings_defaults;
|
||||
foreach ( $settings_defaults as $k => $v ) {
|
||||
UM()->um_remove_option( $k );
|
||||
UM()->options()->remove( $k );
|
||||
}
|
||||
|
||||
//delete UM Custom Post Types posts
|
||||
|
||||
Reference in New Issue
Block a user