W3cubDocs

/WordPress

WP_Hook::next()

Moves forward to the next element.

Return

(array) Of callbacks at next priority.

Source

File: wp-includes/class-wp-hook.php

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

Changelog

Version Description
4.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_hook/next