[wp-trac] [WordPress Trac] #25264: The "do_action"s in class-wp-xmlrpc-server.php do not pass in useable arguments.
WordPress Trac
noreply at wordpress.org
Mon Sep 9 15:26:09 UTC 2013
#25264: The "do_action"s in class-wp-xmlrpc-server.php do not pass in useable
arguments.
-----------------------------+------------------------------
Reporter: jtsternberg | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.6
Severity: normal | Resolution:
Keywords: dev-feedback |
-----------------------------+------------------------------
Comment (by maxcutler):
XML-RPC uses wp_insert_post internally, so you can use the usual
'save_post' action to do work after it has been saved.
Or if you want to manipulate it before it is saved, look at the
'xmlrpc_prepare_post' filter.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25264#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list