WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
Extending FEE (2 posts)

  1. Patrick Daly
    Member
    Posted 1 year ago #

    Desired functionality:

    Upon each edit/save (front and backend) of post a new post type, revision is created, replicating everything in the current version of the post. Each revision is connected to the post using Posts 2 Posts.

    Purpose:

    Creating a ticket system, I need the ability to track when a post changed taxonomy terms. For example, the taxonomy status will change terms throughout the lifecycle of a post. I need to track when it was changed, what it was changed to, and who did it.

    I have everything working on the backend, but I can't figure out how to get the frontend part working.

    I'm using add_action( 'save_post', '...' ), but that doesn't capture what the JS is sending to WordPress. I figured that I need to interact with jQuery( document ).bind('edit_saved', function(ev), but not sure where to start.

    Ideas are certainly appreciated, and thanks for so many awesome plugins.

    http://wordpress.org/extend/plugins/front-end-editor/

  2. scribu
    Member
    Plugin Author

    Posted 1 year ago #

    When editing all the post fields at once (i.e. as a .fee-group), everything that the JS sends can be accessed via $_POST.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic