LearnDash_Theme_Register
Class to create the settings section.
Description #
Source #
Methods #
- __construct — Protected constructor for class
- add_theme_instance — Add Theme instance by key
- get_active_theme_base_dir — Get the base directory of the current active theme.
- get_active_theme_base_url — Get the base URL of the current active theme.
- get_active_theme_dir — Get the template directory of the current active theme.
- get_active_theme_instance — Get the instance of the current active theme.
- get_active_theme_key — Get the Slug of the current active theme.
- get_active_theme_name — Get the Name of the current active theme.
- get_active_theme_template_dir — Get the template directory of the current active theme.
- get_active_theme_template_url — Get the URL of the current active theme.
- get_active_theme_url — Get the URL of the current active theme.
- get_theme_base_dir — Get the base directory of the current theme.
- get_theme_base_url — Get the base URL of the current theme.
- get_theme_dir — Get the template directory of the current theme.
- get_theme_instance — Get theme instance by key
- get_theme_key — Get the Slug of the current theme.
- get_theme_name — Get the Name of the current theme.
- get_theme_settings_sections — Get the settings sections registered for the theme.
- get_theme_template_dir — Get the template directory of the current theme.
- get_theme_template_url — Get the template URL of the current theme.
- get_theme_url — Get the URL of the current theme.
- get_themes — Get Theme instance names
- init — Initialize the Themes.
- is_active — Utility function to check if a class theme_key is the active theme.
- is_active_theme — Utility function to check if a theme_key is the active theme.
- load_active_theme — Load the active theme.
- load_settings_sections — Load the theme settings sections.
- load_theme — Load the theme files and assets.
- load_themes_settings_sections — Load the themes settings sections.
- register_theme_settings_section — Utility function to register/associate a settings section/metabox with a theme.