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 #

 <?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

		echo '<div>Custom content or markup</div>';
	}
);