Forums

Escape all action hooks? (1 post)

  1. ryanve
    Member
    Posted 8 months ago #

    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?

Reply

You must log in to post.

About this Topic