Advertisement
jayroncastro

Custom Fields - Complementary Class Data

Mar 19th, 2024
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 10.25 KB | Source Code | 0 0
  1. {
  2.     "post_type": "meta-box",
  3.     "post_name": "dados-complementares-da-turma",
  4.     "post_title": "Dados Complementares da Turma",
  5.     "post_date": "2024-03-19 20:13:35",
  6.     "post_status": "publish",
  7.     "post_content": "",
  8.     "settings": {
  9.         "object_type": "post",
  10.         "post_types": [
  11.             "turma"
  12.         ],
  13.         "context": "normal",
  14.         "priority": "high",
  15.         "style": "default",
  16.         "tab_style": "",
  17.         "tab_default_active": "",
  18.         "custom_table": {
  19.             "name": ""
  20.         },
  21.         "class": "",
  22.         "prefix": "cf_",
  23.         "text_domain": "your-text-domain",
  24.         "function_name": "your_prefix_function_name"
  25.     },
  26.     "fields": {
  27.         "select_advanced_4yc0tzbsxhg": {
  28.             "_id": "select_advanced_4yc0tzbsxhg",
  29.             "name": "Professor",
  30.             "id": "professor",
  31.             "type": "select_advanced",
  32.             "label_description": "",
  33.             "desc": "",
  34.             "options": "callback: getTeachers",
  35.             "std": "",
  36.             "placeholder": "",
  37.             "required": true,
  38.             "min_clone": "",
  39.             "max_clone": "",
  40.             "add_button": "",
  41.             "admin_columns": {
  42.                 "position": {
  43.                     "type": "after",
  44.                     "column": "title"
  45.                 },
  46.                 "title": "",
  47.                 "before": "",
  48.                 "after": "",
  49.                 "sort": false,
  50.                 "link": false
  51.             },
  52.             "columns": 12,
  53.             "tooltip": {
  54.                 "icon": "",
  55.                 "position": "top",
  56.                 "content": ""
  57.             },
  58.             "before": "",
  59.             "after": "",
  60.             "class": "",
  61.             "sanitize_callback": "",
  62.             "save_field": true
  63.         },
  64.         "select_ngf1hlbgbzc": {
  65.             "_id": "select_ngf1hlbgbzc",
  66.             "name": "Sede",
  67.             "id": "sede",
  68.             "type": "select",
  69.             "label_description": "",
  70.             "desc": "",
  71.             "options": "100l: 100 Livre\r\nhenj: Henrique Jorge",
  72.             "std": "100l",
  73.             "placeholder": "",
  74.             "required": true,
  75.             "min_clone": "",
  76.             "max_clone": "",
  77.             "add_button": "",
  78.             "admin_columns": {
  79.                 "position": {
  80.                     "type": "after",
  81.                     "column": "title"
  82.                 },
  83.                 "title": "",
  84.                 "before": "",
  85.                 "after": "",
  86.                 "sort": false,
  87.                 "link": false
  88.             },
  89.             "columns": 12,
  90.             "tooltip": {
  91.                 "icon": "",
  92.                 "position": "top",
  93.                 "content": ""
  94.             },
  95.             "before": "",
  96.             "after": "",
  97.             "class": "",
  98.             "sanitize_callback": "",
  99.             "save_field": true
  100.         },
  101.         "time_kwdz9xgcsbi": {
  102.             "_id": "time_kwdz9xgcsbi",
  103.             "name": "Horario Inicio",
  104.             "id": "horario_inicio",
  105.             "type": "time",
  106.             "label_description": "",
  107.             "desc": "",
  108.             "std": "",
  109.             "placeholder": "",
  110.             "size": 25,
  111.             "required": true,
  112.             "js_options": {
  113.                 "xie131c8wt": {
  114.                     "id": "xie131c8wt",
  115.                     "key": "timeFormat",
  116.                     "value": "HH:mm"
  117.                 }
  118.             },
  119.             "min_clone": "",
  120.             "max_clone": "",
  121.             "add_button": "",
  122.             "admin_columns": {
  123.                 "position": {
  124.                     "type": "after",
  125.                     "column": "title"
  126.                 },
  127.                 "title": "",
  128.                 "before": "",
  129.                 "after": "",
  130.                 "sort": false,
  131.                 "link": false
  132.             },
  133.             "columns": 12,
  134.             "tooltip": {
  135.                 "icon": "",
  136.                 "position": "top",
  137.                 "content": ""
  138.             },
  139.             "before": "",
  140.             "after": "",
  141.             "class": "",
  142.             "sanitize_callback": "",
  143.             "save_field": true
  144.         },
  145.         "time_6rbzjmhw6mg": {
  146.             "_id": "time_6rbzjmhw6mg",
  147.             "name": "Horario Termino",
  148.             "id": "horario_termino",
  149.             "type": "time",
  150.             "label_description": "",
  151.             "desc": "",
  152.             "std": "",
  153.             "placeholder": "",
  154.             "size": 25,
  155.             "required": true,
  156.             "js_options": {
  157.                 "fg0bh2jpz54": {
  158.                     "id": "fg0bh2jpz54",
  159.                     "key": "timeFormat",
  160.                     "value": "HH:mm"
  161.                 }
  162.             },
  163.             "min_clone": "",
  164.             "max_clone": "",
  165.             "add_button": "",
  166.             "admin_columns": {
  167.                 "position": {
  168.                     "type": "after",
  169.                     "column": "title"
  170.                 },
  171.                 "title": "",
  172.                 "before": "",
  173.                 "after": "",
  174.                 "sort": false,
  175.                 "link": false
  176.             },
  177.             "columns": 12,
  178.             "tooltip": {
  179.                 "icon": "",
  180.                 "position": "top",
  181.                 "content": ""
  182.             },
  183.             "before": "",
  184.             "after": "",
  185.             "class": "",
  186.             "sanitize_callback": "",
  187.             "save_field": true
  188.         },
  189.         "checkbox_list_e39kbvlwqy": {
  190.             "_id": "checkbox_list_e39kbvlwqy",
  191.             "name": "Dias de Aula",
  192.             "id": "dias_de_aula",
  193.             "type": "checkbox_list",
  194.             "label_description": "",
  195.             "desc": "",
  196.             "options": "seg: segunda-feira\r\nter: terça-feira\r\nqua: quarta-feira\r\nqui: quinta-feira\r\nsex: sexta-feira\r\nsab: sábado\r\ndom: domingo",
  197.             "std": "",
  198.             "inline": true,
  199.             "required": true,
  200.             "min_clone": "",
  201.             "max_clone": "",
  202.             "add_button": "",
  203.             "admin_columns": {
  204.                 "position": {
  205.                     "type": "after",
  206.                     "column": "title"
  207.                 },
  208.                 "title": "",
  209.                 "before": "",
  210.                 "after": "",
  211.                 "sort": false,
  212.                 "link": false
  213.             },
  214.             "columns": 12,
  215.             "tooltip": {
  216.                 "icon": "",
  217.                 "position": "top",
  218.                 "content": ""
  219.             },
  220.             "before": "",
  221.             "after": "",
  222.             "class": "",
  223.             "sanitize_callback": "",
  224.             "save_field": true
  225.         },
  226.         "switch_geflr1kmxlp": {
  227.             "_id": "switch_geflr1kmxlp",
  228.             "name": "Status",
  229.             "id": "status",
  230.             "type": "switch",
  231.             "label_description": "",
  232.             "desc": "",
  233.             "style": "rounded",
  234.             "on_label": "Ativa",
  235.             "off_label": "Inativa",
  236.             "std": true,
  237.             "min_clone": "",
  238.             "max_clone": "",
  239.             "add_button": "",
  240.             "admin_columns": {
  241.                 "position": {
  242.                     "type": "after",
  243.                     "column": "title"
  244.                 },
  245.                 "title": "",
  246.                 "before": "",
  247.                 "after": "",
  248.                 "sort": false,
  249.                 "link": false
  250.             },
  251.             "columns": 12,
  252.             "tooltip": {
  253.                 "icon": "",
  254.                 "position": "top",
  255.                 "content": ""
  256.             },
  257.             "before": "",
  258.             "after": "",
  259.             "class": "",
  260.             "sanitize_callback": "",
  261.             "save_field": true
  262.         }
  263.     },
  264.     "data": [],
  265.     "meta_box": {
  266.         "title": "Dados Complementares da Turma",
  267.         "id": "dados-complementares-da-turma",
  268.         "post_types": [
  269.             "turma"
  270.         ],
  271.         "prefix": "cf_",
  272.         "text_domain": "your-text-domain",
  273.         "function_name": "your_prefix_function_name",
  274.         "fields": [
  275.             {
  276.                 "name": "Professor",
  277.                 "id": "cf_professor",
  278.                 "type": "select_advanced",
  279.                 "options": {
  280.                     "4": "Aurelio Barros"
  281.                 },
  282.                 "required": true,
  283.                 "_callback": "getTeachers"
  284.             },
  285.             {
  286.                 "name": "Sede",
  287.                 "id": "cf_sede",
  288.                 "type": "select",
  289.                 "options": {
  290.                     "100l": "100 Livre",
  291.                     "henj": "Henrique Jorge"
  292.                 },
  293.                 "std": "100l",
  294.                 "required": true
  295.             },
  296.             {
  297.                 "name": "Horario Inicio",
  298.                 "id": "cf_horario_inicio",
  299.                 "type": "time",
  300.                 "size": 25,
  301.                 "required": true,
  302.                 "js_options": {
  303.                     "timeFormat": "HH:mm"
  304.                 }
  305.             },
  306.             {
  307.                 "name": "Horario Termino",
  308.                 "id": "cf_horario_termino",
  309.                 "type": "time",
  310.                 "size": 25,
  311.                 "required": true,
  312.                 "js_options": {
  313.                     "timeFormat": "HH:mm"
  314.                 }
  315.             },
  316.             {
  317.                 "name": "Dias de Aula",
  318.                 "id": "cf_dias_de_aula",
  319.                 "type": "checkbox_list",
  320.                 "options": {
  321.                     "seg": "segunda-feira",
  322.                     "ter": "terça-feira",
  323.                     "qua": "quarta-feira",
  324.                     "qui": "quinta-feira",
  325.                     "sex": "sexta-feira",
  326.                     "sab": "sábado",
  327.                     "dom": "domingo"
  328.                 },
  329.                 "inline": true,
  330.                 "required": true
  331.             },
  332.             {
  333.                 "name": "Status",
  334.                 "id": "cf_status",
  335.                 "type": "switch",
  336.                 "style": "rounded",
  337.                 "on_label": "Ativa",
  338.                 "off_label": "Inativa",
  339.                 "std": true
  340.             }
  341.         ]
  342.     }
  343. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement