WPDev.one
Core Function
View Source on Trac ↗

current_filter()

current_filter( )

Retrieves the name of the current filter hook.

Return Value

(string)
Hook name of the current filter.

Function Information

Since Version
2.5.0
Source File
wp-includes/plugin.php
Advertisement