Heads up!
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.
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.
Usage
add_filter( 'frm_reg_update_user_role', '__return_true' );
Parameters
- $should_update (bool)
- $args (array) - includes the following:
- 'form' key (object)
- 'entry' key (object)
- 'user' key (object)
Examples
There are currently no examples for this hook.