Sha256: 6471dcbcc191a451f5f622b9be23d09a0158673e2ccfc409916e480730a0dfab
Contents?: true
Size: 1.06 KB
Versions: 18
Compression:
Stored size: 1.06 KB
Contents
EffectiveLearndash.setup do |config| # Layout Settings # Configure the Layout per controller, or all at once # config.layout = { application: 'application', admin: 'admin' } # Application Password # This is an application password from your Wordpress install hosting Learndash plugin. # https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/ # config.learndash_url = ENV['LEARNDASH_URL'] config.learndash_username = ENV['LEARNDASH_USERNAME'] config.learndash_password = ENV['LEARNDASH_PASSWORD'] # Customize the method used to assign Wordpress username and passwords # Usernames can only contain lowercase letters (a-z) and numbers. # config.wp_username = Proc.new { |user| "user#{user.id}" } # config.wp_password = Proc.new { |user| SecureRandom.base64(12) } # Course Purchase Wizard Settings # config.course_registration_class_name = 'Effective::CourseRegistration' # Pagination length on the Events#index page config.per_page = 10 # Events can be restricted by role config.use_effective_roles = true end
Version data entries
18 entries across 18 versions & 1 rubygems