Definition:
function current_filter() {}
Retrieve the name of the current filter or action.
Return values
returns:Hook name of the current filter or action.
Source code
function current_filter() {
global $wp_current_filter;
return end( $wp_current_filter );
}
748

February 11, 2011 


No comments yet... Be the first to leave a reply!