wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



current_filter › WordPress Function

Desde2.5.0
Obsoleton/a
current_filter ( Sem parâmetros )
Retorna:
  • (string) Hook name of the current filter.
Definido em:
Codex:

Retrieves the name of the current filter hook.



Fonte

function current_filter() {
	global $wp_current_filter;

	return end( $wp_current_filter );
}