Request - New Action Hook edit_post_prepare (2 posts)

  1. Francesc Hervada-Sala
    Posted 8 years ago #


    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.)

  2. lakshman123
    Posted 8 years ago #

    i will try that i think that will be a big process but if we get better results it would be better.
    i hope we get good results

Topic Closed

This topic has been closed to new replies.

About this Topic