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



current_action › WordPress Function

Since3.9.0
已弃用n/a
current_action ( 没有参数 )
返回:
  • (string) Hook name of the current action.
定义在:
文档:

Retrieves the name of the current action hook.



源码

function current_action() {
	return current_filter();
}