Quite simply add this near the apply_filters or do_action.
global $wp_filter;
error_log( "\n " . print_r( $wp_filter['action_or_filter_tag_name'], true ), 3, dirname(__FILE__) . "/my_error_log.log" );
Quite simply add this near the apply_filters or do_action.
global $wp_filter;
error_log( "\n " . print_r( $wp_filter['action_or_filter_tag_name'], true ), 3, dirname(__FILE__) . "/my_error_log.log" );
Leave a Reply