um_before_upload_db_meta
Hook type
Action
Description
Update user's meta before upload
Parameters
$user_id
(int) User ID
$key
(string) Meta key
Usage
add_action( 'um_before_upload_db_meta', 'function_name', 10, 2 );
Examples
<?php add_action( 'um_before_upload_db_meta', 'my_before_upload_db_meta', 10, 2 ); function my_before_upload_db_meta( $user_id, $key ) { // your code here } ?>
Change Log
Since: 2.0
Source
um_before_upload_db_meta
is located in includes/core/class-files.php::line 1038