Sha256: 5537741e3f0fe2d8cb04f80b5ac5da9493113d3b037ed4cf4750d51ad6d230b2

Contents?: true

Size: 823 Bytes

Versions: 4

Compression:

Stored size: 823 Bytes

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) }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
effective_learndash-0.1.3 config/effective_learndash.rb
effective_learndash-0.1.2 config/effective_learndash.rb
effective_learndash-0.1.1 config/effective_learndash.rb
effective_learndash-0.1.0 config/effective_learndash.rb