Open main menu

Extension:Comments/Hooks/Comment::delete

Comment::delete
Available from versionĀ ???

Define function:
public static function onComment_delete( $this, $this->id, $this->page->id ) { ... }
Attach hook:
$wgHooks['Comment::delete'][] = 'MyExtensionHooks::onComment_delete';
Called from:File(s): Comment.class.php
Function(s): delete

For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:Comment::delete extensions.

DetailsEdit

  • $this
  • $this->id
  • $this->page->id