Advertisement
Guest User

Untitled

a guest
Jun 18th, 2025
19
0
28 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 17.85 KB | None | 0 0
  1.         function obr_register_meta_boxes( $meta_boxes ) {
  2.             // note, we need the Meta Boxes plugin for this method to work
  3.             $meta_boxes[] = [
  4.                 'title'   => __( 'Job Specific Information', 'awaw' ),
  5.                 'id'      => 'obr_special_info',
  6.                 'post_types'    =>  'job',
  7.                 'context' => 'normal',
  8.                 'fields'  => [
  9.                     [
  10.                         'name'        => __( 'Featured Vacancy?', 'awaw' ),
  11.                         'desc'          => 'Main Featured Vacancy function which puts a featured box with a flame icon in the vacancy listings.  Normally, you use the Yes or No options; however, there are further options where you can also select "Premium Featured" and "Super Featured" which puts the vacancy above the featured ones - use sparingly!  The order is Premium Featured, then Super Featured, then Yes, then No.',
  12.                         'id'          => 'obr_vac_featured_top_job',
  13.                         'type'        => 'radio',
  14.                         'options'     => [
  15.                                             'yes' => __( 'Yes', 'awaw' ),
  16.                                             'no'  => __( 'No', 'awaw' ),
  17.                                             'zyes' => __( 'Super Featured', 'awaw' ),
  18.                                             'zzyes' => __( 'Premium Featured', 'awaw' ),
  19.                                          ],
  20.                         'required'    => true,
  21.                     ],
  22.                     [
  23.                         'name'          => __( 'Highlighted Vacancy?', 'awaw' ),
  24.                         'desc'          => 'Highlights with a blue box in the listings page.  This is independent of the Featured Vacancy function',
  25.                         'id'            => 'obr_vac_highlighted_job',
  26.                         'type'          => 'radio',
  27.                         'options'       => [
  28.                                             'obr_vac_highlighted_job_yes' => __( 'Yes', 'awaw' ),
  29.                                             'obr_vac_highlighted_job_no'  => __( 'No', 'awaw' ),
  30.                                         ],
  31.                         'std'           => 'obr_vac_highlighted_job_no',
  32.                         'required'      => true,
  33.                     ],
  34.                     [
  35.                         'name'          => __( 'Highlight on Home Page?', 'awaw' ),
  36.                         'desc'          => 'Highlights in the main query on the top of the homepage',
  37.                         'id'            => 'obr_highlight_on_homepage',
  38.                         'type'          => 'radio',
  39.                         'options'       => [
  40.                                             'obr_highlight_on_homepage_yes' => __( 'Yes', 'awaw' ),
  41.                                             'obr_highlight_on_homepage_no'  => __( 'No', 'awaw' ),
  42.                                         ],
  43.                         'std'           => 'obr_highlight_on_homepage_no',
  44.                         'required'      => true,
  45.                     ],
  46.                     [
  47.                         'name'          => __( 'Vacancy Expiry Date', 'awaw' ),
  48.                         'id'            => 'obr_vac_expiry_date',
  49.                         'type'          => 'date',
  50.                         'inline'        => false,
  51.                         'required'      => true,
  52.                     ],
  53.                     [
  54.                         'name'          => __( 'Vacancy Refresh Period (Days)', 'awaw' ),
  55.                         'id'            => 'obr_vac_refresh_period',
  56.                         'type'          => 'select_advanced',
  57.                         'options'       => [
  58.                                                 '0'     => 'No Refresh',
  59.                                                 '1'     => 'Every 1 Day',
  60.                                                 '3'     => 'Every 3 Days',
  61.                                                 '7'     => 'Every 7 Days',
  62.                                                 '14'    => 'Every 14 Days',
  63.                                                 '30'    => 'Every 30 Days',
  64.                                             ],
  65.                         'std'           => '30',
  66.                         'required'      => true,
  67.                     ],
  68.                     [
  69.                         'type'        => 'single_image',
  70.                         'name'        => 'Listing Image',
  71.                         'desc'        => 'An alternative image for use on the Listings page only',
  72.                         'id'          => 'obr_vac_listing_image'
  73.                     ],
  74.                     [
  75.                         'name'          => __( 'Application Method', 'awaw' ),
  76.                         'id'            => 'obr_vac_application_method',
  77.                         'type'          => 'radio',
  78.                         'options'       => [
  79.                                             'email'     => __( 'Via Email', 'awaw' ),
  80.                                             'extsite'   => __( 'External Website', 'awaw' ),
  81.                                          ],
  82.                         'std'           => 'extsite',
  83.                         'required'      => true,
  84.                     ],
  85.                     [
  86.                         'name'          => __( 'Email Address for Applications', 'awaw' ),
  87.                         'id'            => 'obr_vac_application_method_email',
  88.                         'type'          => 'email',
  89.                         'hidden'        => [
  90.                                                 'obr_vac_application_method', '!=', 'email'
  91.                                             ],
  92.                     ],
  93.                     [
  94.                         'name'          => __( 'External URL for Applications', 'awaw' ),
  95.                         'id'            => 'obr_vac_application_method_url',
  96.                         'type'          => 'text',
  97.                         'prepend'       => 'https://',
  98.                         'hidden'        => [
  99.                                                 'obr_vac_application_method', '!=', 'extsite'
  100.                                             ],
  101.                     ],
  102.                     [
  103.                         'name'          => __( 'Manual Schema Enabled?', 'awaw' ),
  104.                         'desc'          => 'Do you want to manually override the normal schema for this job?  If yes, you must select from the meta box entitled "Job Schema Location"',
  105.                         'id'            => 'obr_vac_manual_schema_enabled',
  106.                         'type'          => 'radio',
  107.                         'inline'        => false,
  108.                         'options'       => [
  109.                                             'yes'   => __( 'Yes - Use the "Job Schema Location" metabox info (this is translatable)', 'awaw' ),
  110.                                             'yes2'  => __( 'Yes - Use the "Manual Job Schema Location" fields below (these are not translatable)', 'awaw' ),
  111.                                             'no'    => __( 'No', 'awaw' ),
  112.                                          ],
  113.                         'std'           => 'no',
  114.                     ],
  115.                     [
  116.                         'name'          => __( 'Manual Job Schema Location - Locality', 'awaw' ),
  117.                         'id'            => 'obr_vac_manual_schema_locality',
  118.                         'type'          => 'text',
  119.                         'hidden'        => [
  120.                                                 'obr_vac_manual_schema_enabled', '!=', 'yes2'
  121.                                             ],
  122.                     ],
  123.                     [
  124.                         'name'          => __( 'Manual Job Schema Location - Region', 'awaw' ),
  125.                         'id'            => 'obr_vac_manual_schema_region',
  126.                         'type'          => 'text',
  127.                         'hidden'        => [
  128.                                                 'obr_vac_manual_schema_enabled', '!=', 'yes2'
  129.                                             ],
  130.                     ],
  131.                     [
  132.                         'name'          => __( 'Manual Job Schema Location - Country', 'awaw' ),
  133.                         'id'            => 'obr_vac_manual_schema_country',
  134.                         'type'          => 'text',
  135.                         'hidden'        => [
  136.                                                 'obr_vac_manual_schema_enabled', '!=', 'yes2'
  137.                                             ],
  138.                     ],
  139.                     [
  140.                         'type'        => 'heading',
  141.                         'name'        => 'Candidate requirements for this Job',
  142.                     ],
  143.                     [
  144.                         'name'          => __( 'Specific Passport Required?', 'awaw' ),
  145.                         'id'            => 'obr_vac_passport_required',
  146.                         'type'          => 'radio',
  147.                         'options'       => [
  148.                                             'uk'    => __( 'UK Passport', 'awaw' ),
  149.                                             'eu'    => __( 'EU Passport', 'awaw' ),
  150.                                             'other' => __( 'Specific passport not required', 'awaw' ),
  151.                                          ],
  152.                         //'std'         => 'eu',
  153.                         'required'      => true,
  154.                     ],
  155.                     [
  156.                         'type'        => 'heading',
  157.                         'name'        => 'About the Job Section',
  158.                         'desc'        => 'Fill in the information which you have',
  159.                     ],
  160.                     [
  161.                         'type'        => 'text',
  162.                         'name'        => __( 'Language', 'awaw' ),
  163.                         'id'          => 'obr_vac_language',
  164.                         'placeholder' => __( 'Language', 'awaw' ),
  165.                         'size'        => '100%',
  166.                     ],
  167.                     [
  168.                         'type'        => 'text',
  169.                         'name'        => __( 'Period', 'awaw' ),
  170.                         'id'          => 'obr_vac_period',
  171.                         'placeholder' => __( 'Period', 'awaw' ),
  172.                         'size'        => '100%',
  173.                     ],
  174.                     [
  175.                         'type'        => 'text',
  176.                         'name'        => __( 'Working Hours', 'awaw' ),
  177.                         'id'          => 'obr_vac_working_hours',
  178.                         'placeholder' => __( 'Working Hours', 'awaw' ),
  179.                         'size'        => '100%',
  180.                     ],
  181.                     [
  182.                         'type'        => 'text',
  183.                         'name'        => __( 'Salary', 'awaw' ),
  184.                         'id'          => 'obr_vac_salary',
  185.                         'placeholder' => __( 'Salary', 'awaw' ),
  186.                         'size'        => '100%',
  187.                     ],
  188.                     [
  189.                         'type'        => 'text',
  190.                         'name'        => __( 'Relocation Package', 'awaw' ),
  191.                         'id'          => 'obr_vac_reloc_pkge',
  192.                         'placeholder' => __( 'Relocation Package', 'awaw' ),
  193.                         'size'        => '100%',
  194.                     ],
  195.                     [
  196.                         'type'        => 'text',
  197.                         'name'        => __( 'Meals', 'awaw' ),
  198.                         'id'          => 'obr_vac_meals',
  199.                         'placeholder' => __( 'Meals', 'awaw' ),
  200.                         'size'        => '100%',
  201.                     ],
  202.                     [
  203.                         'type'        => 'text',
  204.                         'name'        => __( 'Benefits', 'awaw' ),
  205.                         'id'          => 'obr_vac_benefits',
  206.                         'placeholder' => __( 'Benefits', 'awaw' ),
  207.                         'size'        => '100%',
  208.                     ],
  209.                     [
  210.                         'type'        => 'text',
  211.                         'name'        => __( 'Accommodation', 'awaw' ),
  212.                         'id'          => 'obr_vac_accommodation',
  213.                         'placeholder' => __( 'Accommodation', 'awaw' ),
  214.                         'size'        => '100%',
  215.                     ],
  216.                 ],
  217.             ];
  218.             $meta_boxes[] = [
  219.                 'title'         => __( 'Location Information For Archives', 'awaw' ),
  220.                 'id'            => 'obr_tax_location_info',
  221.                 'taxonomies'    =>  'location',
  222.                 'fields'        => [
  223.                     [
  224.                         'name'          => __( 'Location Title', 'awaw' ),
  225.                         'id'            => 'obr_tax_loc_title',
  226.                         'placeholder'   => __( 'Location Title', 'awaw' ),
  227.                     ],
  228.                     [
  229.                         'type'          => 'textarea',
  230.                         'name'          => __( 'Location Subtitle', 'awaw' ),
  231.                         'id'            => 'obr_tax_loc_subtitle',
  232.                         'placeholder'   => __( 'Location Subtitle', 'awaw' ),
  233.                     ],
  234.                     [
  235.                         'name'          => __( 'Location Header (Bottom of Page)', 'awaw' ),
  236.                         'id'            => 'obr_tax_loc_header',
  237.                         'placeholder'   => __( 'Location Header (Bottom of Page)', 'awaw' ),
  238.                     ],
  239.                     [
  240.                         'type'          => 'textarea',
  241.                         'name'          => __( 'Location Textarea (Bottom of Page)', 'awaw' ),
  242.                         'id'            => 'obr_tax_loc_textarea',
  243.                         'placeholder'   => __( 'Location Textarea (Bottom of Page)', 'awaw' ),
  244.                     ],
  245.                 ],
  246.             ];
  247.             $meta_boxes[] = [
  248.                 'title'         => __( 'Job Function Information For Archives', 'awaw' ),
  249.                 'id'            => 'obr_tax_job_funct_info',
  250.                 'taxonomies'    =>  'job_funct',
  251.                 'fields'        => [
  252.                     [
  253.                         'name'          => __( 'Job Function Title', 'awaw' ),
  254.                         'id'            => 'obr_tax_job_funct_title',
  255.                         'placeholder'   => __( 'Job Function Title', 'awaw' ),
  256.                     ],
  257.                     [
  258.                         'type'          => 'textarea',
  259.                         'name'          => __( 'Job Function Subtitle', 'awaw' ),
  260.                         'id'            => 'obr_tax_job_funct_subtitle',
  261.                         'placeholder'   => __( 'Job Function Subtitle', 'awaw' ),
  262.                     ],
  263.                     [
  264.                         'name'          => __( 'Job Function Header (Bottom of Page)', 'awaw' ),
  265.                         'id'            => 'obr_tax_job_funct_header',
  266.                         'placeholder'   => __( 'Job Function Header (Bottom of Page)', 'awaw' ),
  267.                     ],
  268.                     [
  269.                         'type'          => 'textarea',
  270.                         'name'          => __( 'Job Function Textarea (Bottom of Page)', 'awaw' ),
  271.                         'id'            => 'obr_tax_job_funct_textarea',
  272.                         'placeholder'   => __( 'Job Function Textarea (Bottom of Page)', 'awaw' ),
  273.                     ],
  274.                 ],
  275.             ];
  276.             $meta_boxes[] = [
  277.                 'title'         => __( 'Job Type Information For Archives', 'awaw' ),
  278.                 'id'            => 'obr_tax_job_type_info',
  279.                 'taxonomies'    =>  'job_type',
  280.                 'fields'        => [
  281.                     [
  282.                         'name'          => __( 'Job Type Title', 'awaw' ),
  283.                         'id'            => 'obr_tax_job_type_title',
  284.                         'placeholder'   => __( 'Job Type Title', 'awaw' ),
  285.                     ],
  286.                     [
  287.                         'type'          => 'textarea',
  288.                         'name'          => __( 'Job Type Subtitle', 'awaw' ),
  289.                         'id'            => 'obr_tax_job_type_subtitle',
  290.                         'placeholder'   => __( 'Job Type Subtitle', 'awaw' ),
  291.                     ],
  292.                     [
  293.                         'name'          => __( 'Job Type Header (Bottom of Page)', 'awaw' ),
  294.                         'id'            => 'obr_tax_job_type_header',
  295.                         'placeholder'   => __( 'Job Type Header (Bottom of Page)', 'awaw' ),
  296.                     ],
  297.                     [
  298.                         'type'          => 'textarea',
  299.                         'name'          => __( 'Job Type Textarea (Bottom of Page)', 'awaw' ),
  300.                         'id'            => 'obr_tax_job_type_textarea',
  301.                         'placeholder'   => __( 'Job Type Textarea (Bottom of Page)', 'awaw' ),
  302.                     ],
  303.                 ],
  304.             ];
  305.             $meta_boxes[] = [
  306.                 'title'         => __( 'Company Information', 'awaw' ),
  307.                 'id'            => 'obr_tax_job_company_info',
  308.                 'taxonomies'    =>  'job_company',
  309.                 'fields'        => [
  310.                     [
  311.                         'name'          => 'Enable Company Page for this Client?',
  312.                         'desc'          => '"Yes" means that a specific page with all jobs will be available and will be linked from the individual jobs pages.  "No" means that neither the page with all jobs nor the link to the page will be available',
  313.                         'id'            => 'obr_tax_job_company_page_enabled',
  314.                         'type'          => 'radio',
  315.                         'options'       => [
  316.                                             'yes' => 'Yes',
  317.                                             'no'  => 'No',
  318.                                         ],
  319.                         'std'           => 'no',
  320.                         'required'      => true,
  321.                     ],
  322.                     [
  323.                         'type'        => 'single_image',
  324.                         'name'        => 'Company Logo',
  325.                         'desc'        => 'Company Logo Image',
  326.                         'id'          => 'obr_tax_job_company_logo'
  327.                     ],
  328.                     [
  329.                         'name'          => __( 'Company Type', 'awaw' ),
  330.                         'id'            => 'obr_tax_job_company_type',
  331.                         'placeholder'   => __( 'Company Type', 'awaw' ),
  332.                     ],
  333.                     [
  334.                         'type'        => 'single_image',
  335.                         'name'        => 'Company Image 1',
  336.                         'desc'        => 'Background company image for behind the logo and company name',
  337.                         'id'          => 'obr_tax_job_company_image1'
  338.                     ],
  339.                     [
  340.                         'name'          => __( 'Company Employees', 'awaw' ),
  341.                         'id'            => 'obr_tax_job_company_employees',
  342.                         'placeholder'   => __( 'Company Employees', 'awaw' ),
  343.                     ],
  344.                     [
  345.                         'name'          => __( 'Company Sector', 'awaw' ),
  346.                         'id'            => 'obr_tax_job_company_sector',
  347.                         'placeholder'   => __( 'Company Sector', 'awaw' ),
  348.                     ],
  349.                     [
  350.                         'name'          => __( 'Company Location', 'awaw' ),
  351.                         'id'            => 'obr_tax_job_company_location',
  352.                         'placeholder'   => __( 'Company Location', 'awaw' ),
  353.                     ],
  354.                     [
  355.                         'type'        => 'single_image',
  356.                         'name'        => 'Company Image 2',
  357.                         'desc'        => 'Company image for display between descriptions 1 and 2',
  358.                         'id'          => 'obr_tax_job_company_image2'
  359.                     ],
  360.                     [
  361.                         'type'          => 'wysiwyg',
  362.                         'raw'           => false,
  363.                         'options' => [
  364.                             'textarea_rows' => 10,
  365.                             'teeny'         => true,
  366.                         ],
  367.                         'name'          => __( 'Company Description Area 2', 'awaw' ),
  368.                         'id'            => 'obr_tax_job_company_description2',
  369.                         'placeholder'   => __( 'Company Description Area 2', 'awaw' ),
  370.                     ],
  371.                     [
  372.                         'type'          => 'wysiwyg',
  373.                         'raw'           => false,
  374.                         'options' => [
  375.                             'textarea_rows' => 10,
  376.                             'teeny'         => true,
  377.                         ],
  378.                         'name'          => __( 'Company Description Area 3', 'awaw' ),
  379.                         'id'            => 'obr_tax_job_company_description3',
  380.                         'placeholder'   => __( 'Company Description Area 3', 'awaw' ),
  381.                     ],
  382.                     [
  383.                         'name'          => __( 'Company Editable 1', 'awaw' ),
  384.                         'id'            => 'obr_tax_job_company_editable1',
  385.                         'placeholder'   => __( 'Company Editable 1', 'awaw' ),
  386.                     ],
  387.                     [
  388.                         'type'          => 'wysiwyg',
  389.                         'raw'           => false,
  390.                         'options' => [
  391.                             'textarea_rows' => 10,
  392.                             'teeny'         => true,
  393.                         ],
  394.                         'name'          => __( 'Company Editable 2', 'awaw' ),
  395.                         'id'            => 'obr_tax_job_company_editable2',
  396.                         'placeholder'   => __( 'Company Editable 2', 'awaw' ),
  397.                     ],
  398.                     [
  399.                         'type'          => 'url',
  400.                         'name'          => __( 'Company Website URL', 'awaw' ),
  401.                         'id'            => 'obr_tax_job_company_website',
  402.                         'placeholder'   => __( 'Company Website URL', 'awaw' ),
  403.                     ],
  404.                     [
  405.                         'type'          => 'url',
  406.                         'name'          => __( 'Company TikTok URL', 'awaw' ),
  407.                         'id'            => 'obr_tax_job_company_tiktok',
  408.                         'placeholder'   => __( 'Company TikTok URL', 'awaw' ),
  409.                     ],
  410.                     [
  411.                         'type'          => 'url',
  412.                         'name'          => __( 'Company Instagram URL', 'awaw' ),
  413.                         'id'            => 'obr_tax_job_company_instagram',
  414.                         'placeholder'   => __( 'Company Instagram URL', 'awaw' ),
  415.                     ],
  416.                     [
  417.                         'type'          => 'url',
  418.                         'name'          => __( 'Company Facebook URL', 'awaw' ),
  419.                         'id'            => 'obr_tax_job_company_facebook',
  420.                         'placeholder'   => __( 'Company Facebook URL', 'awaw' ),
  421.                     ],
  422.                     [
  423.                         'type'          => 'url',
  424.                         'name'          => __( 'Company LinkedIn URL', 'awaw' ),
  425.                         'id'            => 'obr_tax_job_company_linkedin',
  426.                         'placeholder'   => __( 'Company LinkedIn URL', 'awaw' ),
  427.                     ],
  428.                     [
  429.                         'type'          => 'url',
  430.                         'name'          => __( 'Company X URL', 'awaw' ),
  431.                         'id'            => 'obr_tax_job_company_x',
  432.                         'placeholder'   => __( 'Company X URL', 'awaw' ),
  433.                     ],
  434.                     [
  435.                         'type'          => 'url',
  436.                         'name'          => __( 'Company YouTube URL', 'awaw' ),
  437.                         'id'            => 'obr_tax_job_company_youtube',
  438.                         'placeholder'   => __( 'Company YouTube URL', 'awaw' ),
  439.                     ],
  440.                     [
  441.                         'name'          => __( 'Company FAQ - Question 1', 'awaw' ),
  442.                         'id'            => 'obr_tax_job_company_faq_q1',
  443.                         'placeholder'   => __( 'Company FAQ - Question 1', 'awaw' ),
  444.                     ],
  445.                     [
  446.                         'type'          => 'wysiwyg',
  447.                         'raw'           => false,
  448.                         'options' => [
  449.                             'textarea_rows' => 10,
  450.                             'teeny'         => true,
  451.                         ],
  452.                         'name'          => __( 'Company FAQ - Answer 1', 'awaw' ),
  453.                         'id'            => 'obr_tax_job_company_faq_a1',
  454.                         'placeholder'   => __( 'Company FAQ - Answer 1', 'awaw' ),
  455.                     ],
  456.                     [
  457.                         'name'          => __( 'Company FAQ - Question 2', 'awaw' ),
  458.                         'id'            => 'obr_tax_job_company_faq_q2',
  459.                         'placeholder'   => __( 'Company FAQ - Question 2', 'awaw' ),
  460.                     ],
  461.                     [
  462.                         'type'          => 'wysiwyg',
  463.                         'raw'           => false,
  464.                         'options' => [
  465.                             'textarea_rows' => 10,
  466.                             'teeny'         => true,
  467.                         ],
  468.                         'name'          => __( 'Company FAQ - Answer 2', 'awaw' ),
  469.                         'id'            => 'obr_tax_job_company_faq_a2',
  470.                         'placeholder'   => __( 'Company FAQ - Answer 2', 'awaw' ),
  471.                     ],
  472.                     [
  473.                         'name'          => __( 'Company FAQ - Question 3', 'awaw' ),
  474.                         'id'            => 'obr_tax_job_company_faq_q3',
  475.                         'placeholder'   => __( 'Company FAQ - Question 3', 'awaw' ),
  476.                     ],
  477.                     [
  478.                         'type'          => 'wysiwyg',
  479.                         'raw'           => false,
  480.                         'options' => [
  481.                             'textarea_rows' => 10,
  482.                             'teeny'         => true,
  483.                         ],
  484.                         'name'          => __( 'Company FAQ - Answer 3', 'awaw' ),
  485.                         'id'            => 'obr_tax_job_company_faq_a3',
  486.                         'placeholder'   => __( 'Company FAQ - Answer 3', 'awaw' ),
  487.                     ],
  488.                     [
  489.                         'name'          => __( 'Company FAQ - Question 4', 'awaw' ),
  490.                         'id'            => 'obr_tax_job_company_faq_q4',
  491.                         'placeholder'   => __( 'Company FAQ - Question 4', 'awaw' ),
  492.                     ],
  493.                     [
  494.                         'type'          => 'wysiwyg',
  495.                         'raw'           => false,
  496.                         'options' => [
  497.                             'textarea_rows' => 10,
  498.                             'teeny'         => true,
  499.                         ],
  500.                         'name'          => __( 'Company FAQ - Answer 4', 'awaw' ),
  501.                         'id'            => 'obr_tax_job_company_faq_a4',
  502.                         'placeholder'   => __( 'Company FAQ - Answer 4', 'awaw' ),
  503.                     ],
  504.                     [
  505.                         'name'          => __( 'Company FAQ - Question 5', 'awaw' ),
  506.                         'id'            => 'obr_tax_job_company_faq_q5',
  507.                         'placeholder'   => __( 'Company FAQ - Question 5', 'awaw' ),
  508.                     ],
  509.                     [
  510.                         'type'          => 'wysiwyg',
  511.                         'raw'           => false,
  512.                         'options' => [
  513.                             'textarea_rows' => 10,
  514.                             'teeny'         => true,
  515.                         ],
  516.                         'name'          => __( 'Company FAQ - Answer 5', 'awaw' ),
  517.                         'id'            => 'obr_tax_job_company_faq_a5',
  518.                         'placeholder'   => __( 'Company FAQ - Answer 5', 'awaw' ),
  519.                     ],
  520.                 ],
  521.             ];
  522.  
  523.             return $meta_boxes;
  524.         }
  525.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement