um_after_user_upload

Hook type

Action

Description

After complete UM user registration and file uploaded.

Parameters

$user_id

(int) User ID

$files

(array) Files data

Usage

add_action( 'um_after_user_upload', 'function_name', 10, 2 );

Examples

<?php
add_action( 'um_after_user_upload', 'my_after_user_upload', 10, 2 );
function my_after_user_upload( $user_id, $files ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_after_user_upload is located in includes/core/um-actions-register.php::line 649