wp_save_image


wp_save_image ( $post_id )

Parameters:
  • (int) post_id Attachment post ID.
Returns:
  • (stdClass)
Defined at:

Description

Saves image to post, along with enqueued changes in `$_REQUEST['history']`.

Related Functions

wp_save_image_file, wp_stream_image, wp_load_image, wp_restore_image, wp_crop_image

Top Google Results

User discussions

wpseek mobile