You are here

protected property WordPressAttachmentSource::$attachmentFields in WordPress Migrate 7

Same name and namespace in other branches
  1. 7.2 wordpress_attachment.inc \WordPressAttachmentSource::attachmentFields

List of additional source fields for attachments.

Type: array

File

./wordpress_attachment.inc, line 12

Class

WordPressAttachmentSource
Override WordPressItemSource, to add additional fields for attachments.

Code

protected $attachmentFields = array(
  'attachment_url' => 'The URL of the attached file',
  '_wp_attached_file' => 'Local (to WordPress) filespec',
  '_wp_attachment_metadata' => 'Serialized metadata (image size etc.)',
);