Browse: Home / Hooks /

learndash_delete_user_data

do_action( 'learndash_delete_user_data',  int $user_id )

Fires after deleting user data.


Description #


Parameters #

$user_id

(int) User ID.


Source #

File: includes/ld-users.php


Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?php
/**
 * Example usage for learndash_delete_user_data action.
 */
add_action(
	'learndash_delete_user_data',
	function( $user_id ) {
		// May add any custom logic using $user_id

	}
);