WordPress at a glance
функция не описана

Requests_Hooker::register() public WP 1.0

Register a callback for a hook

It's a method of the class: Requests_Hooker{}

Хуков нет.


Null. Ничего.


$Requests_Hooker = new Requests_Hooker();
$Requests_Hooker->register( $hook, $callback, $priority );
$hook(string) (required)
Hook name
$callback(callback) (required)
Function/method to call on event
Priority number. <0 is executed earlier, >0 is executed later
Default: 0

Код Requests_Hooker::register() WP 5.5.1

public function register($hook, $callback, $priority = 0);