<?php

add_filter("rwmb_meta_boxes", function ($meta_boxes) {
  $meta_boxes[] = [
    "id" => "mb-contact",
    "title" => __("Kontakt", "inoby"),
    "settings_pages" => "options",
    "tab"            => "contact",
    "context" => "normal",
    "fields" => [
      [
        "id" => "contact_form_email_to",
        "name" => __("Emailová adresa", "inoby"),
        "label_description" => "Adresa na prijímanie emailov z kontaktného formuára",
        "type" => "text",
        "placeholder" => "email@email.com",
      ],
    ],
  ];

  return $meta_boxes;
});