Description
The gravityflowchecklists_post_remove_exemption action fires after an admin has clicked on the checkbox to remove an exemption for a user.
Parameters
| Parameter | Type | Details | 
|---|---|---|
| $user_id int | Integer | The user for which the exemption added. | 
| $form_id int | Integer | The ID of the form for which the exemption was added. | 
| $checklist_id string | String | The ID of the checklist for which the exemption was added. | 
| $exemption array | Entry | The details of the exemption including the user ID of the user who added the exemption and the timestamp. | 
Examples
Prevent entries from form with the ID of 1 from being presented in the status page
1 2 3 4 5 6 7 8 9 10 11 12  | add_action( 'gravityflowchecklists_post_remove_exemption', 'sh_gravityflowchecklists_post_remove_exemption', 10, 4 );/** * Fires after an exemption has been removed. * * @param int $user_id The user for which the exemption removed. * @param int $form_id The ID of the form for which the exemption was removed. * @param string $checklist_id The ID of the checklist for which the exemption was removed. * @param array $exemption The details of the exemption including the user ID of the user who added the exemption and the timestamp. */function sh_gravityflowchecklists_post_remove_exemption( $user_id, $form_id, $checklist_id, $exemption ) {    // Do something after an exemption has been triggered.} | 
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?