Album.php
5 years ago
AlternateText.php
5 years ago
Artist.php
5 years ago
Author.php
5 years ago
AuthorName.php
5 years ago
AvailableSizes.php
5 years ago
Caption.php
5 years ago
Comments.php
5 years ago
Date.php
5 years ago
Description.php
5 years ago
Dimensions.php
5 years ago
Download.php
5 years ago
ExifData.php
5 years ago
FileName.php
5 years ago
FileSize.php
5 years ago
FullPath.php
5 years ago
Height.php
5 years ago
ID.php
5 years ago
MediaParent.php
5 years ago
Menu.php
5 years ago
Meta.php
5 years ago
MetaValue.php
5 years ago
MimeType.php
5 years ago
Taxonomy.php
5 years ago
Title.php
5 years ago
Width.php
5 years ago
Meta.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AC\Column\Media; |
| 4 | |
| 5 | use AC\Column; |
| 6 | |
| 7 | abstract class Meta extends Column\Meta { |
| 8 | |
| 9 | public function __construct() { |
| 10 | $this->set_serialized( true ); |
| 11 | } |
| 12 | |
| 13 | public function get_meta_key() { |
| 14 | return '_wp_attachment_metadata'; |
| 15 | } |
| 16 | |
| 17 | public function get_raw_value( $id ) { |
| 18 | return $this->get_meta_value( $id, $this->get_meta_key() ); |
| 19 | } |
| 20 | |
| 21 | } |