Settings::defaultOptions()
Default options
Description
Source
File: bp-integrations/learndash/core/Settings.php
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | public function defaultOptions() { return [ 'buddypress' => [ 'enabled' => false, 'show_in_bp_create' => true, 'show_in_bp_manage' => true, 'tab_access' => 'anyone' , 'default_auto_sync' => true, 'delete_ld_on_delete' => false, 'default_admin_sync_to' => 'admin' , 'default_mod_sync_to' => 'admin' , 'default_user_sync_to' => 'user' , ], 'learndash' => [ 'enabled' => false, 'default_auto_sync' => true, 'default_bp_privacy' => 'private' , 'default_bp_invite_status' => 'admin' , 'default_admin_sync_to' => 'admin' , 'default_user_sync_to' => 'user' , 'delete_bp_on_delete' => false, ], 'reports' => [ 'enabled' => false, 'access' => [ 'admin' , 'mod' ], 'per_page' => 20, 'cache_time' => 60 ], ]; } |
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.