_copy_image_file


_copy_image_file ( $attachment_id )

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

Description

Copy an existing image file.

Related Functions

wp_save_image_file, wp_crop_image, _crop_image_resource, wp_get_image_mime, remove_image_size

Top Google Results

User discussions

wpseek mobile