WordPress at a glance
function is not described

WP_Hook::current() public WP 4.7.0

Returns the current element.

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

No Hooks.

Return

Array. Of callbacks at current priority.

Usage

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

Changelog

Since 4.7.0 Introduced.

Code of WP_Hook::current() WP 5.5.1

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