Abstract_Module
Class Abstract_Module
Source
File: includes/core/abstract_module.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Abstract_Module constructor.
- add_module_settings — Add the module settings.
- add_toggle_option — Register module toggle option.
- check_dependent_plugins — Check dependent plugins.
- check_plugin_state — Check plugin state.
- check_theme_version — Check if the theme should update.
- define_module_properties — Define module properties.
- get_default_module_status — Get the default module status.
- get_module_info — Retrieve info about the module.
- get_module_option_key — Create the option key stored in the DB for a module's subfeature/setting also referred to as option.
- get_module_options — Get module subfeatures/settings also reffered to as options.
- get_module_status — Check if module is active.
- init — Init module function
- is_active — Check if module is active.
- is_available_for_license — Checks if module is available for current license.
- is_min_req_theme_version — Check theme version before module load.
- run_module — Run module's functions.
- set_active_status — Set active status depending on the license.
- should_load — Check if module should load