Function __global->notify_sitemap_node_add

Definitions

sources/sitemap_xml.php

  • Add a row to our sitemap cache.
  • 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
$add_date ?TIME No No Null N/A N/A The add time (null: unknown)
$edit_date ?TIME No No Null N/A N/A The edit time (null: same as add time)
$priority ?float No No Null N/A N/A The sitemap priority, a SITEMAP_IMPORTANCE_* constant (null: unknown - and trigger a Sitemap tail call to find it)
$refreshfreq ?ID_TEXT No No Null always hourly daily weekly monthly yearly never N/A The refresh frequency (null: unknown - and trigger a Sitemap tail call to find it)
$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 true then it will not end up in an XML Sitemap, but we'll keep tabs of it for other possible uses) (null: unknown - and trigger a Sitemap tail call to find it)

Preview

Code (PHP)

/**
 * Add a row to our sitemap cache.
 *
 * @param  SHORT_TEXT $page_link The page-link
 * @param  ?TIME $add_date The add time (null: unknown)
 * @param  ?TIME $edit_date The edit time (null: same as add time)
 * @param  ?float $priority The sitemap priority, a SITEMAP_IMPORTANCE_* constant (null: unknown - and trigger a Sitemap tail call to find it)
 * @param  ?ID_TEXT $refreshfreq The refresh frequency (null: unknown - and trigger a Sitemap tail call to find it)
 * @set always hourly daily weekly monthly yearly never
 * @param  ?boolean $guest_access Whether guests may access this resource in terms of category permissions not zone/page permissions (if not set to true then it will not end up in an XML Sitemap, but we'll keep tabs of it for other possible uses) (null: unknown - and trigger a Sitemap tail call to find it)
 */

function notify_sitemap_node_add(string $page_link, ?int $add_date = null, ?int $edit_date = null, ?float $priority = null, ?string $refreshfreq = null, ?bool $guest_access = null)