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|false) False if $post is invalid.
Defined at:

Description

Updates 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

Top Google Results

User discussions

wpseek mobile