it would be nice to have a hook “edit_post_prepare” to get activated when a post is being update just before an update statement is commited. This way a plugin could save the post data being changed to be used at the already existing hook “edit_post”.
Example: A plugin could catch up “edit_post_prepare” and save the value of the post_slug, and upon “edit_post” it could notify that the post_slug was changed and act accordingly. (I need actually this for my cross-references plugin: If a post slug is changed, all back references should be updated.)
- The topic ‘Request – New Action Hook edit_post_prepare’ is closed to new replies.