_copy_image_file


_copy_image_file ( $attachment_id )

Access:
  • private
Parameters:
  • (int) attachment_id Attachment ID.
Returns:
  • (string|false) New file path on success, false on failure.
Defined at:

Description

Copies an existing image file.

Related Functions

wp_save_image_file, wp_crop_image, remove_image_size, wp_get_image_mime, add_image_size

Top Google Results

User discussions

wpseek mobile