Removed: This hook was removed in version 3.0 with no replacement.
Description
Fires on the feed configuration page after a form has been selected from the “Select Form” dropdown. This is useful for updating or setting options that are dependent on properties of the selected form.
Usage
<script type="text/javascript"> jQuery(document).on('gform_user_registration_form_selected', function(event, form){ // code to be fired once the form is selected }); </script>
Parameters
- event Event Object
The Javascript event object.
-
form Form Object
The form meta of the selected form.
Examples
This example runs a function after the form has been selected.
<script type="text/javascript"> jQuery(document).on('gform_user_registration_form_selected', function(event, form){ CreateBuddyPressMetaOptions(); }); </script>
Source Code
This filter is located in userregistration.php.