> For the complete documentation index, see [llms.txt](https://docs.acpt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acpt.io/developers/functions/get_acpt_table_group_object.md).

# get\_acpt\_table\_group\_object

Get a Custom Content Type table group object representation

Returns a table group as a plain object, by its machine name.

### Usage

```php
$group = get_acpt_table_group_object('products_group');
```

### Parameters

| Parameter | Type   | Required | Description                         |
| --------- | ------ | -------- | ----------------------------------- |
| `name`    | string | Required | The machine name of the table group |

### Return

| Type        | Description                                                              |
| ----------- | ------------------------------------------------------------------------ |
| `\stdClass` | The table group object, including its location rules and attached tables |
| `null`      | If no group with the given name exists                                   |
