20:30, 13 November 2014 (diff | hist) . .(+287) . . N Plugin API/Action Reference/trash post (Created page with "Run actions on post when it's put in the Trash. The post ID is passed to the action hook. <h3>Example:</h3> <code> add_action( 'wp_trash_post', 'function_to_run_on_post_tra...")