Function __global->notify_sitemap_node_delete
Definitions
sources/sitemap_xml.php
- Mark a row from our sitemap cache as for deletion.It won't be immediately deleted, as we use this as a signal that the XML Sitemap will need updating too.Updates are done in batch, via the system scheduler.This may be called on page-links that may not actually be in the sitemap cache.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
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 |
Returns
- Whether anything happened
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Mark a row from our sitemap cache as for deletion.It won't be immediately deleted, as we use this as a signal that the XML Sitemap will need updating too.Updates are done in batch, via the system scheduler.This may be called on page-links that may not actually be in the sitemap cache.
*
* @param SHORT_TEXT $page_link The page-link
* @return boolean Whether anything happened
*/
function notify_sitemap_node_delete(string $page_link) : bool
* Mark a row from our sitemap cache as for deletion.It won't be immediately deleted, as we use this as a signal that the XML Sitemap will need updating too.Updates are done in batch, via the system scheduler.This may be called on page-links that may not actually be in the sitemap cache.
*
* @param SHORT_TEXT $page_link The page-link
* @return boolean Whether anything happened
*/
function notify_sitemap_node_delete(string $page_link) : bool

