class General_Settings extends Kernowdev\Clanbite\Extensions\Abstract_SettingsGeneral Clanbite options stored in General_Settings::OPTION_KEY.
class
- Full name
Kernowdev\Clanbite\Admin\General_Settings- Extends
Kernowdev\Clanbite\Extensions\Abstract_Settings
Constants
| Name | Value | Description |
|---|---|---|
OPTION_KEY | 'clanbite_general_settings' |
Methods
filter_login_redirect()Send members to the page chosen under Clanbite → General → Login after they sign in.filter_show_admin_bar()Hide the front-end WordPress toolbar for users without manage_options when the option is enabled.get_defaults(){@inheritDoc}get_menu_title(){@inheritDoc}get_page_title(){@inheritDoc}get_sections(){@inheritDoc}hooks(){@inheritDoc}render_page(){@inheritDoc}sanitize_login_redirect_mode()Sanitise the redirect mode.sanitize_login_redirect_url()Sanitise the custom login address (a full address or a path on this site).
Defined in inc/admin/class-general-settings.php
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Updated. |