Functions
The full list of PHP functions
Last updated
The full list of PHP functions
Last updated
ACPT exposes a complete set of PHP functions to manage custom post types and meta fields.
Use this list for quick reference:
Custom post types
- Register a new custom post type.
- Delete a custom post type.
Taxonomies
- Register a new taxonomy.
- Delete a taxonomy.
- Associate a custom taxonomy to a custom post type.
- Remove the association between a taxonomy to a post type.
Option pages
- Register a new option page.
- Delete an option page.
- Create/edit a new form.
- Delete a form.
- Save a form field.
- Delete a form field.
- Get a form object representation.
- Get a form field object representation.
Manage field values
IMPORTANT NOTE: Every function is capable of working with parameters both in camel case and snake case.
Quick example:
- Create/edit a field group.
- Delete a field group.
- Get an array of field group object representations.
- Get single field group object representation.
- Create/edit a meta box.
- Delete a meta box.
- Get single meta box object representation.
- Create/edit a meta field.
- Delete a meta field.
- Get an array of meta fields object representations.
- Get single meta field object representation.
- Create/edit meta field value.
- Delete meta field value.
- Fetch all box field values
- Check if a field has nested values
- Check if a field has nested values.
- Fetch the field value.
- Fetch a nested field value.
- Fetch the block values nested in a Flexible field.
- Fetch the field values nested in a block.
- Display the field value.
- Checks if a field is visible (based on its value).