This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
By default, roles will get added when an entry is updated. Use this filter to enable this feature.
add_filter( 'frm_reg_update_user_role', '__return_true' );
- $should_update (bool)
- $args (array) - includes the following:
- 'form' key (object)
- 'entry' key (object)
- 'user' key (object)