gform_user_registration_enable_multisite_section

Description

By default multisite section of User Registration feed settings are enabled only for the main site of the network. This filter can be used to force the activation of this settings section network-wide.

Usage

add_filter( 'gform_user_registration_enable_multisite_section', '__return_true' );

Parameters

ParameterTypeDescription
$enable_multisite_sectionboolTrue or false.

Placement

This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.

See also the PHP section in this article: Where Do I Put This Code?

Source Code

This filter is located in GF_User_Registration::feed_settings_fields() in class-gf-user-registration.php.

Since

This filter was added in Gravity Forms User Registration Add-On 2.3.6.