WP_Hook::rewind() WordPress Method
The WP_Hook::rewind() method is used to reset the iterator for the current hook to the beginning. This is useful if you need to iterate over the same hook multiple times.
WP_Hook::rewind() #
Contents
Source
File: wp-includes/class-wp-hook.php
public function rewind() {
reset( $this->callbacks );
}
Expand full source codeCollapse full source codeView on TracView on GitHub