Function __global->seo_meta_erase_storage

Definitions

sources/content2.php

  • Erase a seo entry... as these shouldn't be left hanging around once content is deleted.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$type ID_TEXT No No required parameter N/A N/A The type of resource (e.g. download)
$id ID_TEXT No No required parameter N/A N/A The ID of the resource
$do_decache boolean No No True N/A N/A Whether to clear caching for this too

Preview

Code (PHP)

/**
 * Erase a seo entry... as these shouldn't be left hanging around once content is deleted.
 *
 * @param  ID_TEXT $type The type of resource (e.g. download)
 * @param  ID_TEXT $id The ID of the resource
 * @param  boolean $do_decache Whether to clear caching for this too
 */

function seo_meta_erase_storage(string $type, string $id, bool $do_decache = true)