> 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_meta_field_advanced_option.md).

# get\_acpt\_meta\_field\_advanced\_option

Get a specific advanced option value of a meta field

Retrieve the value of a specific advanced option set on a meta field.

Advanced options are the extra settings available in the **Advanced options** tab of the meta fields manager (e.g. `min`, `max`, `step`, `pattern`, `default_value`).

### Usage

```php
$minValue = get_acpt_meta_field_advanced_option('my_box', 'price_field', 'min');
```

### Parameters

| Parameter    | Type   | Required | Description                                                                       |
| ------------ | ------ | -------- | --------------------------------------------------------------------------------- |
| `box_name`   | string | Required | The meta box name                                                                 |
| `field_name` | string | Required | The field name                                                                    |
| `key`        | string | Required | The advanced option key (e.g. `min`, `max`, `step`, `pattern`, `before`, `after`) |

### Return

| Type    | Description                                   |
| ------- | --------------------------------------------- |
| `mixed` | The option value on success                   |
| `null`  | If the field or the option key does not exist |
