Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Forms_Dynamic_Fields::toggle_for_password( array $password, array[] $blocks )
Adds a current password field and a toggle link button allowing the user to change their password
Description Description
Parameters Parameters
- $password
-
(Required) Password field data as located by LLMS_Forms_Dynamic_Fields::find_block().
- $blocks
-
(Required) Array of WP_Block arrays.
Return Return
(array[])
Source Source
File: includes/forms/class-llms-forms-dynamic-fields.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |