Login-screen integration.
Capabilities and extension points
Integrates login-screen branding, assets, and configured styles.
Whether stylesheet recompilation has been scheduled for this request.
- var bool
Initializes the module.
Registers login hooks.
Registers the login stylesheet only during a login request.
- param mixed $styles Style definitions.
- return array Style definitions.
Registers the Cherry background controls only during a login request.
- param mixed $scripts Script definitions.
- return array Script definitions.
Outputs the decorative Cherry background video and its pause control.
Adds validated login values to the SCSS compiler.
- param \ScssPhp\ScssPhp\Compiler $compiler SCSS compiler.
Points branded preset logos to their respective websites.
- param string $url Login-header URL.
- return string Filtered login-header URL.
Gives branded preset logos accurate accessible labels.
- param string $text Login-header accessible text.
- return string Filtered login-header text.
Determines whether the Cherry Marketing preset is active.
- return bool Whether the Cherry Marketing preset is active.
Gets the validated login preset type.
- return string Login preset type.
Schedules recompilation when a login option changes.
- param string $option Option name.
Recompiles the login stylesheet.
Source reference
This editable reference page is based on the PHP documentation in frontend/class-login.php.