apply_filters( 'llms_are_usernames_enabled', boolean $enabled )
Use this to explicitly enable of disable username fields.
Description Description
Note that usage of this filter will not actually disable the llms/form-field-username block. It’s possible to create a confusing user experience by explicitly disabling usernames and leaving username field blocks on one or more forms. If you decide to explicitly disable via this filter you should also remove all the username blocks from all of your forms.
Parameters Parameters
- $enabled
-
(boolean) Whether or not usernames are enabled.
Source Source
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |