[wp-trac] [WordPress Trac] #17109: Add post-success action hooks to edit/create/delete calls.

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 11 18:05:43 UTC 2011

#17109: Add post-success action hooks to edit/create/delete calls.
 Reporter:  ericmann     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  XML-RPC      |    Version:
 Severity:  normal       |   Keywords:  needs-patch
 It was suggested in #14283 that we add `call_success` hooks for post
 creation using the Blogger API.  The ticket was later expanded to add
 hooks for all relevant post/page methods.

 We should extend this workflow concept and add hooks to all
 edit/create/delete calls for different data types (comments, media, etc)
 to make the XML-RPC system more pluggable.

 These hooks should use the following format:
 do_action( 'xmlrpc_call_success_{method name}', {object id}, $args );

 These hooks should be called before returning data to the client, but
 should not be called before any processing is done or before error
 messages are created.

Ticket URL: <http://core.trac.wordpress.org/ticket/17109>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list