WPDev.one
Core Class

Hooks

class Hooks // Constructor: function Object() { [native code] }

Handles adding and dispatching events

Methods 3 methods

Method / Return Description
register()
void

Register a callback for a hook

Parameters: $hook: mixed, $callback: mixed, $priority: mixed
dispatch()
boolean

Dispatch a message

Parameters: $hook: mixed, $parameters: mixed
__wakeup()
void

No description available.

Properties

Property / Type Description
$hooks
mixed
public
No description available.

Class Information

Source File
wp-includes/Requests/src/Hooks.php
Advertisement