equal
deleted
inserted
replaced
36 * @var string |
36 * @var string |
37 */ |
37 */ |
38 public $slug; |
38 public $slug; |
39 |
39 |
40 /** |
40 /** |
41 * Id. |
41 * ID. |
42 * |
42 * |
43 * @since 5.8.0 |
43 * @since 5.8.0 |
44 * @var string |
44 * @var string |
45 */ |
45 */ |
46 public $id; |
46 public $id; |
76 * @var string |
76 * @var string |
77 */ |
77 */ |
78 public $source = 'theme'; |
78 public $source = 'theme'; |
79 |
79 |
80 /** |
80 /** |
81 * Post Id. |
81 * Origin of the content when the content has been customized. |
|
82 * When customized, origin takes on the value of source and source becomes |
|
83 * 'custom'. |
|
84 * |
|
85 * @since 5.9.0 |
|
86 * @var string |
|
87 */ |
|
88 public $origin; |
|
89 |
|
90 /** |
|
91 * Post ID. |
82 * |
92 * |
83 * @since 5.8.0 |
93 * @since 5.8.0 |
84 * @var integer|null |
94 * @var int|null |
85 */ |
95 */ |
86 public $wp_id; |
96 public $wp_id; |
87 |
97 |
88 /** |
98 /** |
89 * Template Status. |
99 * Template Status. |
95 |
105 |
96 /** |
106 /** |
97 * Whether a template is, or is based upon, an existing template file. |
107 * Whether a template is, or is based upon, an existing template file. |
98 * |
108 * |
99 * @since 5.8.0 |
109 * @since 5.8.0 |
100 * @var boolean |
110 * @var bool |
101 */ |
111 */ |
102 public $has_theme_file; |
112 public $has_theme_file; |
|
113 |
|
114 /** |
|
115 * Whether a template is a custom template. |
|
116 * |
|
117 * @since 5.9.0 |
|
118 * |
|
119 * @var bool |
|
120 */ |
|
121 public $is_custom = true; |
|
122 |
|
123 /** |
|
124 * Author. |
|
125 * |
|
126 * A value of 0 means no author. |
|
127 * |
|
128 * @since 5.9.0 |
|
129 * @var int |
|
130 */ |
|
131 public $author; |
|
132 |
|
133 /** |
|
134 * Post types. |
|
135 * |
|
136 * @since 5.9.0 |
|
137 * @var array |
|
138 */ |
|
139 public $post_types; |
|
140 |
|
141 /** |
|
142 * Area. |
|
143 * |
|
144 * @since 5.9.0 |
|
145 * @var string |
|
146 */ |
|
147 public $area; |
103 } |
148 } |