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

# Functions

The full list of PHP functions

ACPT exposes a complete set of PHP functions to manage custom post types and meta fields.

The list below is sorted alphabetically so a specific function is easy to find. If you're looking for functions grouped by area (custom post types, taxonomies, fields, field values, forms, dynamic blocks, Custom Content Types...), use your browser's search (`Ctrl+F` / `Cmd+F`) on the function name or description.

| Function                                                                                                          | Description                                                              |
| ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [`acpt_field`](/developers/functions/acpt_field.md)                                                               | Display a field value                                                    |
| [`acpt_field_has_blocks`](/developers/functions/acpt_field_has_blocks.md)                                         | Check if a Flexible Content field has nested blocks                      |
| [`acpt_field_has_rows`](/developers/functions/acpt_field_has_rows.md)                                             | Check if a Repeater or List field has nested rows                        |
| [`acpt_get_field_options`](/developers/functions/acpt_get_field_options.md)                                       | Get the allowed options list for a Select / Radio / Checkbox field       |
| [`append_acpt_meta_field_value`](/developers/functions/append_acpt_meta_field_value.md)                           | Append a row to a Repeater field value                                   |
| [`assoc_acpt_taxonomy_to_acpt_post`](/developers/functions/assoc_acpt_taxonomy_to_acpt_post.md)                   | Associate a custom taxonomy to a custom post type                        |
| [`create_acpt_table`](/developers/functions/create_acpt_table.md)                                                 | Explicitly create the physical database table from the stored definition |
| [`delete_acpt_block`](/developers/functions/delete_acpt_block.md)                                                 | Delete a dynamic block                                                   |
| [`delete_acpt_form`](/developers/functions/delete_acpt_form.md)                                                   | Delete a form                                                            |
| [`delete_acpt_form_field`](/developers/functions/delete_acpt_form_field.md)                                       | Delete a form field                                                      |
| [`delete_acpt_meta_box`](/developers/functions/delete_acpt_meta_box.md)                                           | Delete a meta box                                                        |
| [`delete_acpt_meta_field`](/developers/functions/delete_acpt_meta_field.md)                                       | Delete a meta field                                                      |
| [`delete_acpt_meta_field_value`](/developers/functions/delete_acpt_meta_field_value.md)                           | Delete a meta field value                                                |
| [`delete_acpt_meta_group`](/developers/functions/delete_acpt_meta_group.md)                                       | Delete a field group                                                     |
| [`delete_acpt_option_page`](/developers/functions/delete_acpt_option_page.md)                                     | Delete an option page                                                    |
| [`delete_acpt_post_type`](/developers/functions/delete_acpt_post_type.md)                                         | Delete a custom post type                                                |
| [`delete_acpt_table`](/developers/functions/delete_acpt_table.md)                                                 | Delete a custom table definition                                         |
| [`delete_acpt_table_group`](/developers/functions/delete_acpt_table_group.md)                                     | Delete a Custom Content Type table group                                 |
| [`delete_acpt_taxonomy`](/developers/functions/delete_acpt_taxonomy.md)                                           | Delete a custom taxonomy                                                 |
| [`drop_acpt_table`](/developers/functions/drop_acpt_table.md)                                                     | Drop the physical database table                                         |
| [`get_acpt_block`](/developers/functions/get_acpt_block.md)                                                       | Fetch block values from a Flexible Content field                         |
| [`get_acpt_block_child_field`](/developers/functions/get_acpt_block_child_field.md)                               | Fetch a field value nested inside a Flexible Content block               |
| [`get_acpt_block_object`](/developers/functions/get_acpt_block_object.md)                                         | Get a dynamic block object representation                                |
| [`get_acpt_box_object`](/developers/functions/get_acpt_box_object.md)                                             | Get a single meta box object representation                              |
| [`get_acpt_child_field`](/developers/functions/get_acpt_child_field.md)                                           | Fetch a nested field value from a Repeater field                         |
| [`get_acpt_field`](/developers/functions/get_acpt_field.md)                                                       | Fetch a field value                                                      |
| [`get_acpt_fields`](/developers/functions/get_acpt_fields.md)                                                     | Fetch all field values for a meta box                                    |
| [`get_acpt_form_field_object`](/developers/functions/get_acpt_form_field_object.md)                               | Get a form field object representation                                   |
| [`get_acpt_form_object`](/developers/functions/get_acpt_form_object.md)                                           | Get a form object representation                                         |
| [`get_acpt_meta_field_advanced_option`](/developers/functions/get_acpt_meta_field_advanced_option.md)             | Get a specific advanced option value of a meta field                     |
| [`get_acpt_meta_field_before_and_after`](/developers/functions/get_acpt_meta_field_before_and_after.md)           | Get the before/after advanced-option text configured on a meta field     |
| [`get_acpt_meta_field_object`](/developers/functions/get_acpt_meta_field_object.md)                               | Get a single meta field object representation                            |
| [`get_acpt_meta_field_objects`](/developers/functions/get_acpt_meta_field_objects.md)                             | Get an array of meta field object representations                        |
| [`get_acpt_meta_group_object`](/developers/functions/get_acpt_meta_group_object.md)                               | Get a single field group object representation                           |
| [`get_acpt_meta_group_objects`](/developers/functions/get_acpt_meta_group_objects.md)                             | Get an array of field group object representations                       |
| [`get_acpt_table_group_object`](/developers/functions/get_acpt_table_group_object.md)                             | Get a Custom Content Type table group object representation              |
| [`get_acpt_table_object`](/developers/functions/get_acpt_table_object.md)                                         | Get a custom table object representation                                 |
| [`get_acpt_table_status`](/developers/functions/get_acpt_table_status.md)                                         | Get the synchronisation status of a custom table                         |
| [`is_acpt_field_visible`](/developers/functions/is_acpt_field_visible.md)                                         | Check if a field is visible based on its value                           |
| [`register_acpt_option_page`](/developers/functions/register_acpt_option_page.md)                                 | Register a new option page                                               |
| [`register_acpt_post_type`](/developers/functions/register_acpt_post_type.md)                                     | Register a new custom post type                                          |
| [`register_acpt_taxonomy`](/developers/functions/register_acpt_taxonomy.md)                                       | Register a new custom taxonomy                                           |
| [`remove_assoc_acpt_taxonomy_from_acpt_post`](/developers/functions/remove_assoc_acpt_taxonomy_from_acpt_post.md) | Remove the association between a taxonomy and a post type                |
| [`save_acpt_block`](/developers/functions/save_acpt_block.md)                                                     | Create or update a dynamic block                                         |
| [`save_acpt_form`](/developers/functions/save_acpt_form.md)                                                       | Create or update a form                                                  |
| [`save_acpt_form_field`](/developers/functions/save_acpt_form_field.md)                                           | Create or update a form field                                            |
| [`save_acpt_meta_box`](/developers/functions/save_acpt_meta_box.md)                                               | Create or update a meta box                                              |
| [`save_acpt_meta_field`](/developers/functions/save_acpt_meta_field.md)                                           | Create or update a meta field                                            |
| [`save_acpt_meta_field_value`](/developers/functions/save_acpt_meta_field_value.md)                               | Create or update a meta field value                                      |
| [`save_acpt_meta_group`](/developers/functions/save_acpt_meta_group.md)                                           | Create or update a field group                                           |
| [`save_acpt_table`](/developers/functions/save_acpt_table.md)                                                     | Create or update a custom table definition                               |
| [`save_acpt_table_group`](/developers/functions/save_acpt_table_group.md)                                         | Create or update a Custom Content Type table group                       |
| [`sync_acpt_table`](/developers/functions/sync_acpt_table.md)                                                     | Synchronise the physical database table with the stored definition       |

***

{% hint style="warning" %}
**IMPORTANT NOTE**: Every function accepts parameters in both camelCase and snake\_case.
{% endhint %}

Quick example:

```php
get_acpt_form_field_object([
    'formName' => 'new-form', // works also with 'form_name'
    'fieldName' => 'email',   // works also with 'field_name'
]);
```
