WP_Hook::current() WordPress Method
The WP_Hook::current() method allows you to get the current hook being processed. This is useful when you need to know what hook is currently being processed, and need to take action based on that information.
WP_Hook::current() #
Contents
Source
File: wp-includes/class-wp-hook.php
public function current() { return current( $this->callbacks ); }
Expand full source codeCollapse full source codeView on TracView on GitHub