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.

Top ↑

Parameters Parameters


(boolean) Whether or not usernames are enabled.

Top ↑

Source Source

File: includes/forms/class-llms-forms.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.