WordPress at Your Fingertips
function is not described

WP_Hook::current() public WP 1.0

[ReturnTypeWillChange]

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

No Hooks.

Return

null. Nothing.

Usage

$WP_Hook = new WP_Hook();
$WP_Hook->current();

Code of WP_Hook::current() WP 5.9

public function current() {
	return current( $this->callbacks );
}