Requests_Hooks::register( string $hook, callback $callback, int $priority )

In this article

Register a callback for a hook

Parameters

$hookstringrequired
Hook name
$callbackcallbackrequired
Function/method to call on event
$priorityintrequired
Priority number. <0 is executed earlier, >0 is executed later

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.