wp_save_image
wp_save_image ( $post_id )
Parameters:- (int) post_id Attachment post ID.
Returns:Defined at: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
Saves image to post, along with enqueued changes
in `$_REQUEST['history']`.