Function __global->purge_sitemap_xml_node_immediately_by_url

Definitions

sources/sitemap_xml.php

  • Remove something from the Sitemap and rebuild, by URL.Useful for resolving Google Search Coverage errors, for example.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$url SHORT_TEXT No No required parameter N/A N/A The URL

Returns

  • Whether anything happened
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Remove something from the Sitemap and rebuild, by URL.Useful for resolving Google Search Coverage errors, for example.
 *
 * @param  SHORT_TEXT $url The URL
 * @return boolean Whether anything happened
 */

function purge_sitemap_xml_node_immediately_by_url(string $url) : bool