_copy_image_file
- %1$s is private and should not be used in themes or plugins directly.
_copy_image_file ( $attachment_id )
Access:Parameters:- (int) attachment_id Attachment ID.
Returns:- (string|false) New file path on success, false on failure.
Defined at: - Introduced in WordPress: 3.4.0
- Deprecated in WordPress: —
Description
Copies an existing image file.