added_usermeta

added_usermeta

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('added_usermeta') is found 1 times:

  • /wp-includes/deprecated.php line 2364
    2360
    2361
    2362
    2363
    2364
    2365
    2366
    2367
    2368
    2369
        clean_user_cache( $user_id );
        wp_cache_delete( $user_id, 'user_meta' );
     
        if ( !$cur )
            do_action( 'added_usermeta', $wpdb->insert_id, $user_id, $meta_key, $meta_value );
        else
            do_action( 'updated_usermeta', $cur->umeta_id, $user_id, $meta_key, $meta_value );
     
        return true;
    }