Function __global->delete_form_custom_fields
Definitions
sources/fields.php
- Delete custom fields for content item.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $content_type | ID_TEXT | No | No | required parameter | N/A | N/A | Content type hook codename |
| $id | ID_TEXT | No | No | required parameter | N/A | N/A | Content entry ID |
Preview
Code (PHP)
/**
* Delete custom fields for content item.
*
* @param ID_TEXT $content_type Content type hook codename
* @param ID_TEXT $id Content entry ID
*/
function delete_form_custom_fields(string $content_type, string $id)
* Delete custom fields for content item.
*
* @param ID_TEXT $content_type Content type hook codename
* @param ID_TEXT $id Content entry ID
*/
function delete_form_custom_fields(string $content_type, string $id)

