PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.3.2
Pods – Custom Content Types and Fields v3.3.2
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / src / Pods / Whatsit / Storage / File.php
pods / src / Pods / Whatsit / Storage Last commit date
Collection.php 2 years ago File.php 3 years ago Post_Type.php 2 years ago
File.php
32 lines
1 <?php
2
3 namespace Pods\Whatsit\Storage;
4
5 /**
6 * File class.
7 *
8 * @since 2.9.0
9 */
10 class File extends Collection {
11
12 /**
13 * {@inheritdoc}
14 */
15 protected static $type = 'file';
16
17 /**
18 * @var array
19 */
20 protected static $compatible_types = [
21 'file' => 'file',
22 ];
23
24 /**
25 * {@inheritdoc}
26 */
27 public function get_label() {
28 return __( 'File', 'pods' );
29 }
30
31 }
32