wp-includes/plugin.php:364Retrieves the name of the current filter hook.
stringfunction current_filter() { global $wp_current_filter; return end( $wp_current_filter );}Introduced in 2.5.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
string to string|false.verified against sourcesrc/wp-includes/plugin.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.