wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



current_filter › WordPress Function

Od2.5.0
Przestarzałyn/a
› current_filter ( Brak parametrów )
Powrót:
  • (string|false) Hook name of the current filter, false if no filter is running.
Zdefiniowane na:
Codex:

Retrieves the name of the current filter hook.



Źródło

function current_filter() {
	global $wp_current_filter;

	return end( $wp_current_filter );
}