Find all functions hooked to a WordPress action / filter

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__) . "/hook_error_log.log" ); 

// newsletter

Three tested WordPress snippets a week

Blocks, security, performance, Tailwind, PHP and React. Copy, paste, ship. You’ll also get DPlugins product updates. No spam, and you can unsubscribe anytime.

// newsletter

Three tested WordPress snippets a week

Blocks, security, performance, Tailwind, PHP and React. Copy, paste, ship. You'll also get DPlugins product updates. No spam, and you can unsubscribe anytime.