Basic::register( WpOrgRequestsHooks $hooks )

In this article

Register the necessary callbacks

Description

See also

Parameters

$hooksWpOrgRequestsHooksrequired
Hook system

Source

public function register(Hooks $hooks) {
	$hooks->register('curl.before_send', [$this, 'curl_before_send']);
	$hooks->register('fsockopen.after_headers', [$this, 'fsockopen_header']);
}

User Contributed Notes

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