Class: PostImage

wp.media.model. PostImage


new PostImage( [attributes])

wp.media.model.PostImage An instance of an image that's been embedded into a post. Used in the embedded image attachment display settings modal - @see wp.media.view.MediaFrame.ImageDetails.
Parameters:
Name Type Argument Description
attributes int <optional>
Initial model attributes.
Properties
Name Type Argument Description
attachment_id int <optional>
ID of the attachment.
Source:

Extends

  • Backbone.Model