Advanced: Get all Actions for a $tag add_action($tag,*) (2 posts)

  1. Scott Kingsley Clark
    Posted 7 years ago #

    I'm attempting to figure out how to pull all of the actions for a tag, remove them, and then add the actions to another tag. How would I go about doing this?

    Or is there a way to access the output echo or print statements from an add_action that isn't returned?

  2. Stephen Rider
    Posted 7 years ago #

    Look into wp-includes/plugin.php, roughly line 337.

    I think you want to manipulate the array at $wp_filter[$tag]

Topic Closed

This topic has been closed to new replies.

About this Topic