WP_Hook::rewind()publicWP 4.7.0ReturnTypeWillChange

Rewinds the Iterator to the first element.

Method of the class: WP_Hook{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 4.7.0 Introduced.

WP_Hook::rewind() code WP 6.5.2

public function rewind() {
	reset( $this->callbacks );
}