Add a field to a group
public add_group_field ( string $parent_field_id, array $field, integer $position ) : mixed | ||
$parent_field_id | string | The field id of the group field to add the field |
$field | array | Metabox field config array |
$position | integer | (optional) Position of metabox. 1 for first, etc |
Результат | mixed | Array of parent/field ids or false |