gform_enable_password_field

Description

Use this filter to enable the password field. Useful when developing add-ons that require a password field.

Usage

add_filter( 'gform_enable_password_field', '__return_true' );

Parameters

  • $is_enabled bool

    Value to be filtered. True enables the password field; false disables it.

Examples

This example enables the password field.

add_filter( 'gform_enable_password_field', '__return_true' );

Source Code

This action hook is located in form_detail.php.