save_acpt_meta_group

save_acpt_meta_group

Create/edit a form group.

Usage

save_acpt_meta_group([
   'name' => 'new-group',
   'label' => 'New group',
   'new_name' => 'new-group-modified',
   'display' => 'horizontalTabs',
   'belongs' => [
      [
      	'belongsTo' => "customPostType",
      	'operator'  => "=",
      	"find"      => "page"
      ]
   ],
]);

Parameters

  • name (string) (Required) The group name

  • new_name (string) (Optional) The new group name, if you are modifying an already saved group

  • label (string) (Optional) The field label

  • display (string) (Optional) How to

  • belongs (array) (Optional) The array

Return

  • boolean

Last updated