wp_update_attachment_metadata


wp_update_attachment_metadata ( $attachment_id, $data )

Parameters:
  • (int) $attachment_id Attachment post ID.
  • (array) $data Attachment meta data.
Returns:
  • (int|bool) False if $post is invalid.
Defined at:

Description

Update metadata for an attachment.

Related Functions

wp_generate_attachment_metadata, wp_get_attachment_metadata, wp_maybe_generate_attachment_metadata, update_comment_meta, wp_delete_attachment_files

Top Google Results

User discussions

wpseek mobile