Settings::defaultOptions()
Default options
Description
Source
File: bp-integrations/learndash/core/Settings.php
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.