do_action( 'ld_removed_course_group_access', int $user_id, int $group_id )
Fires after the user is removed from the course group meta.
Description #
Parameters #
- $user_id
-
(int) User ID.
- $group_id
-
(int) Group ID.
Source #
File: includes/ld-groups.php
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for ld_removed_course_group_access action. */ add_action( 'ld_removed_course_group_access', function( $user_id, $group_id ) { // May add any custom logic using $user_id, $group_id }, 10, 2 );
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |