um_after_upload_db_meta_{$key}

Hook type

Action

Description

Update user's meta after upload

Parameters

$user_id

(int) User ID

Usage

add_action( 'um_after_upload_db_meta_{$key}', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_after_upload_db_meta_{$key}', 'my_after_upload_db_meta', 10, 1 );
function my_after_upload_db_meta( $user_id ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_after_upload_db_meta_{$key} is located in includes/core/class-files.php::line 1102