wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



current_filter › WordPress Function

Da2.5.0
Deprecaton/a
› current_filter ( Nessun parametro )
Ritorna:
  • (string|false) Hook name of the current filter, false if no filter is running.
Definito a:
Codex:

Retrieves the name of the current filter hook.



Sorgenti

function current_filter() {
	global $wp_current_filter;

	return end( $wp_current_filter );
}