Update attachment file path based on attachment ID.
Used to update the file path of the attachment, which uses post meta name '_wp_attached_file' to store the path of the attachment.
Note: This does not move the file. This simply updates the '_wp_attached_file' post meta after a move.
<?php update_attached_file( $attachment_id, $file ) ?>
update_attached_file() is located in