Description #
This filter returns the fields for user registration settings feeds. Use this to push your own fields.
apply_filters('fluentform/user_registration_feed_fields', $fields, $formId);
Usage #
add_filter('fluentform/user_registration_feed_fields', function ($fields, $formId) {
// Do your stuff here
return $fields;
}, 10, 2);
Parameters #
- $fields (array) Fields
- $formId (int) Form ID
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentFormPro\src\Integrations\UserRegistration\Bootstrap -> getSettingsFields($settings, $formId = null)