wpseek.com
WordPress开发者和主题制作者的搜索引擎



current_filter › WordPress Function

Since2.5.0
已弃用n/a
current_filter ( 没有参数 )
返回:
  • (string) Hook name of the current filter.
定义在:
文档:

Retrieves the name of the current filter hook.



源码

function current_filter() {
	global $wp_current_filter;

	return end( $wp_current_filter );
}