| size | ratio | weight_ratio | |
|---|---|---|---|
| #1 | "30" | "1" | "1" |
| #2 | "40" | "1.5" | "1.5" |
| from | to | |
|---|---|---|
| #1 | "00:00" | "00:05" |
| #2 | "23:55" | "23:59" |
<h2 style="text-align: center;">Заклад закритий!</h2> <p style="text-align: center;">Ми відчиняємось о 10:00.</p>
Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:249
Get featured image @param $post_id @param string $size @return string Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:342
@param $singular_name @param $plural_name @param $text_domain Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:64
Function for register the meta boxes Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:283
Function for filter save_post. Save meta_data for post_type @param $post_id Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:292
constructor of the class @param mixed $matches - Can be empty or id of wp_post or WP_POST object or array with values Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:28
loads values of fields from WP_Post @param \WP_Post $post - The wp_post from which the data will be taken @param bool $force - if false than data will taken if post_type == $MACHINE_NAME of class only, if true data will taken from any post @return $this - return object of class Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:136
Global getters for all public fields of class @param $name - name of field @return mixed - value of the field $name or false if not exist Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:72
Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:42
Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:29
Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:55
Loaded and set the value for $field from DB @param $field @return $this Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:93
Defined in <ROOT>app/themes/viva-api/Entity/Setting.php:25
Insert or Update data of object in the database @param array $extra_fields @return $this Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:210
Save the value for $field to the DB @param $field @param $value @return $this Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:113
Global setters for all public fields of class @param $name - name of field @param $value - value of field @return $this - return object of class Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:52
Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:178
Set values for fields from array @param array $array - array where keys it is names of fields and values it is values of fields @return $this Inherited from Viva\API\Entity\PostType Defined in <ROOT>app/themes/viva-api/Entity/PostType.php:168
| from | to | |
|---|---|---|
| #1 | "00:00" | "00:05" |
| #2 | "23:55" | "23:59" |
| ID | NAME | ADDRESS | |
|---|---|---|---|
| 1 | "1" | "КАПУШАНСЬКА точка" | "м. Ужгород, вул. Капушанська, 145" |
| 2 | "5" | "ОНОКОВЦІ точка" | "с. Оноківці, вул. Центральна 10 89412" |
2000-05-20 21:52:30
1991-07-10 18:37:05
| label | city | address | default | |
|---|---|---|---|---|
| #1 | "Дім" | "Ужгород" | "вул. Осипенко, 22/33" | FALSE |
| #2 | "Робота" | "Ужгород" | "вул. Богомольця, 21/5" | TRUE |
| #3 | "Офіс" | "Ужгород" | "вул. Мукачівська, 14" | FALSE |
| #4 | "Office" | "Uzh" | "Belfast 21" | FALSE |