LLMS_Settings_Notifications::__construct()
Constructor
Description Description
Source Source
File: includes/admin/settings/class.llms.settings.notifications.php
public function __construct() { require_once LLMS_PLUGIN_DIR . 'includes/admin/settings/tables/class.llms.table.notification.settings.php'; $this->id = 'notifications'; $this->label = __( 'Notifications', 'lifterlms' ); add_filter( 'lifterlms_settings_tabs_array', array( $this, 'add_settings_page' ), 20 ); add_action( 'lifterlms_settings_' . $this->id, array( $this, 'output' ) ); add_action( 'lifterlms_settings_save_' . $this->id, array( $this, 'before_save' ), 5 ); add_action( 'lifterlms_settings_save_' . $this->id, array( $this, 'save' ) ); add_action( 'lifterlms_settings_save_' . $this->id, array( $this, 'after_save' ), 15 ); add_filter( 'llms_settings_' . $this->id . '_has_save_button', array( $this, 'maybe_disable_save' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |