WordPress.org

Support

Support » Plugins and Hacks » Hacks » trash_post action executes twice?

trash_post action executes twice?

  • I’m using add_action ( 'trash_post', 'do_trash_post' ); // Trash post event in a plugin I’m working on and I’m logging all my function activity for debugging. Whenever the trash_post action runs, it’s appearing in my log twice and it’s the only action so far that I’ve come across that it doing this. Anyone else ever experience this?

  • The topic ‘trash_post action executes twice?’ is closed to new replies.