• Is there an easy way to apply a function on all action hooks? I want to apply esc_attr() to every action hook (in a way that would work from functions.php or a plugin). I figure I would need to filter do_action and do_action_ref_array except that those functions don’t use apply_filters. Is there any way to do this?

  • The topic ‘Escape all action hooks?’ is closed to new replies.