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
- $enable_multisite_section bool
True or false.
Placement
This code should be placed in the functions.php file of your active theme.
Source Code
$enable_multisite_section = apply_filters( 'gform_user_registration_enable_multisite_section', $this->is_root_site() );
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.