WordPress at a glance
function is not described

WP_Hook::current_priority() public WP 4.7.0

Return the current priority level of the currently running iteration of the hook.

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

No Hooks.

Return

Int/false. If the hook is running, return the current priority level. If it isn't running, return false.

Usage

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

Changelog

Since 4.7.0 Introduced.

Code of WP_Hook::current_priority() WP 5.5.1

<?php
public function current_priority() {
	if ( false === current( $this->iterations ) ) {
		return false;
	}

	return current( current( $this->iterations ) );
}