WordPress at Your Fingertips
function is not described

WP_Hook::next() public WP 4.7.0

Moves forward to the next element.

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

No Hooks.

Return

Array. Of callbacks at next priority.

Usage

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

Changelog

Since 4.7.0 Introduced.

Code of WP_Hook::next() WP 5.8

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