wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



current_filter › WordPress Function

Depuis2.5.0
Dépréciéen/a
› current_filter ( Pas de paramètres )
Retourne:
  • (string|false) Hook name of the current filter, false if no filter is running.
Défini(e) dans:
Codex:

Retrieves the name of the current filter hook.



Source

function current_filter() {
	global $wp_current_filter;

	return end( $wp_current_filter );
}