Function Hook_addon_registry_core_cns->delete_predefined_content_field

Definitions

sources/hooks/systems/addon_registry/core_cns.php

  • Delete a Custom Profile Field from one of the predefined templates (this is often used by importers).
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$codename ID_TEXT No No required parameter N/A N/A The identifier of the predefined Custom Profile Field

Preview

Code (PHP)

/**
 * Delete a Custom Profile Field from one of the predefined templates (this is often used by importers).
 *
 * @param  ID_TEXT $codename The identifier of the predefined Custom Profile Field
 */

protected function delete_predefined_content_field(string $codename)