Image.php 267 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 <?php namespace ACP\Editing\View; use ACP\Editing\View; class Image extends View { use AttachmentTypeTrait, MultipleTrait, MediaUploadToTrait; public function __construct() { parent::__construct( 'media' ); $this->set_attachment_type( 'image' ); } }