Function __global->notify_sitemap_node_edit

Definitions

sources/sitemap_xml.php

  • Edit a row in our sitemap cache.For renames instead call notify_sitemap_node_delete then notify_sitemap_node_add.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$page_link SHORT_TEXT No No required parameter N/A N/A The page-link
$guest_access ?boolean No No Null N/A N/A Whether guests may access this resource in terms of category permissions not zone/page permissions (if not set to 1 then it will not end up in an XML Sitemap, but we'll keep tabs of it for other possible uses) (null: unknown)

Preview

Code (PHP)

/**
 * Edit a row in our sitemap cache.For renames instead call notify_sitemap_node_delete then notify_sitemap_node_add.
 *
 * @param  SHORT_TEXT $page_link The page-link
 * @param  ?boolean $guest_access Whether guests may access this resource in terms of category permissions not zone/page permissions (if not set to 1 then it will not end up in an XML Sitemap, but we'll keep tabs of it for other possible uses) (null: unknown)
 */

function notify_sitemap_node_edit(string $page_link, ?bool $guest_access = null)