WP_Hook::nextpublicWP 4.7.0ReturnTypeWillChange

Moves forward to the next element.

Method of the class: WP_Hook{}

No Hooks.

Returns

array|false. Array of callbacks at next priority, false if there are no more elements.

Usage

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

Changelog

Since 4.7.0 Introduced.

WP_Hook::next() code WP 7.1

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