devel:event:io_namespace_deleted
This is an old revision of the document!
Table of Contents
IO_NAMESPACE_DELETED
- Description:
- catch namespace deletions
- DefaultAction:
- The namespace is deleted
- Preventable:
- no
- Added:
- 2006-07-05
This event is signalled by io_sweepNS() in inc/io.php after deleting a namespace. Child namespaces are deleted before their parents.
Passed Data
- $data[0] – ns: The colon separated namespace path minus the trailing page name.
- $data[1] – ns_type: 'pages' or 'media' namespace tree.
Plugins handling this event
The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.
See also
devel/event/io_namespace_deleted.1527607260.txt.gz · Last modified: 2018-05-29 17:21 by andi