wp_save_image_file


wp_save_image_file ( $filename, $image, $mime_type, $post_id )

Parameters:
  • (string) $filename
  • (WP_Image_Editor) $image
  • (string) $mime_type
  • (int) $post_id
Returns:
  • (bool)
Defined at:

Description

Saves image to file.

Related Functions

wp_save_image, wp_get_image_mime, _copy_image_file, wp_calculate_image_sizes, wp_stream_image

Top Google Results

User discussions

wpseek mobile