Function __global->delete_privacy_form_fields

Definitions

sources/content_privacy2.php

  • Delete privacy data.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$content_type ID_TEXT No No required parameter N/A N/A The content type
$content_id ID_TEXT No No required parameter N/A N/A The content ID

Returns

  • Whether it deleted something
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Delete privacy data.
 *
 * @param  ID_TEXT $content_type The content type
 * @param  ID_TEXT $content_id The content ID
 * @return boolean Whether it deleted something
 */

function delete_privacy_form_fields(string $content_type, string $content_id) : bool