Title: WP_Hook::rewind
Published: December 6, 2016
Last modified: February 24, 2026

---

# WP_Hook::rewind()

[ Back to top](https://developer.wordpress.org/reference/classes/wp_hook/rewind/?output_format=md#wp--skip-link--target)

## Source

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/class-wp-hook.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/class-wp-hook.php#L598)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/class-wp-hook.php#L598-L600)

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_hook%2Frewind%2F)
before being able to contribute a note or feedback.