module Wpxf::WordPress::Options

Provides access to various WordPress based options.

Constants

WP_OPTION_CONTENT_DIR

Public Class Methods

new() click to toggle source

Initialize a new instance of {Options}.

Calls superclass method
# File lib/wpxf/wordpress/options.rb, line 8
def initialize
  super

  register_advanced_options([WP_OPTION_CONTENT_DIR])
end

Public Instance Methods

wp_content_dir() click to toggle source

@return [String] the name of the wp-content directory.

# File lib/wpxf/wordpress/options.rb, line 15
def wp_content_dir
  normalized_option_value('wp_content_dir')
end