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
| Parameter | Type | Description |
|---|---|---|
event | Event Object | The Javascript event object. |
form | Form Object | The form meta of the selected form. |
Examples
Run a function after form selection.
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>
Placement
Reference the article Adding JavaScript Code to the Admin Side of Your Site.
Source Code
This filter is located in userregistration.php.