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

Version Path
effective_learndash-0.6.1 config/effective_learndash.rb
effective_learndash-0.6.0 config/effective_learndash.rb
effective_learndash-0.5.2 config/effective_learndash.rb
effective_learndash-0.5.1 config/effective_learndash.rb
effective_learndash-0.5.0 config/effective_learndash.rb
effective_learndash-0.4.0 config/effective_learndash.rb
effective_learndash-0.3.3 config/effective_learndash.rb
effective_learndash-0.3.2 config/effective_learndash.rb
effective_learndash-0.3.1 config/effective_learndash.rb
effective_learndash-0.3.0 config/effective_learndash.rb
effective_learndash-0.2.1 config/effective_learndash.rb
effective_learndash-0.2.0 config/effective_learndash.rb
effective_learndash-0.1.9 config/effective_learndash.rb
effective_learndash-0.1.8 config/effective_learndash.rb
effective_learndash-0.1.7 config/effective_learndash.rb
effective_learndash-0.1.6 config/effective_learndash.rb
effective_learndash-0.1.5 config/effective_learndash.rb
effective_learndash-0.1.4 config/effective_learndash.rb