apply_filters( 'update_attached_file', string $file , int $attachment_id )
Filters the path to the attached file to update.
Parameters
- $file
-
Path to the attached file to update.
- $attachment_id
-
Attachment ID.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
WP-2.1.0 | Introduced. |