WpOrg\Requests

HookManager::dispatch()publicWP 1.0

Dispatch a message

Method of the class: HookManager{}

No Hooks.

Return

true|false. Successfulness

Usage

$HookManager = new HookManager();
$HookManager->dispatch( $hook, $parameters );
$hook(string) (required)
Hook name
$parameters(array)
Parameters to pass to callbacks
Default: []

HookManager::dispatch() code WP 6.6.2

public function dispatch($hook, $parameters = []);