Browse: Home / Hooks /

learndash_remove_group_users

do_action( 'learndash_remove_group_users' )

Fires after removing a user from the group.


Description #

$group_id int ID of the group. $group_users_remove array An array of user IDs that are removed from the group.


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 learndash_remove_group_users action.
 */
add_action(
	'learndash_remove_group_users',
	function() {

		// Add your custom code here
	}
);