diff --git a/includes/class-syndication-wp-xmlrpc-client.php b/includes/class-syndication-wp-xmlrpc-client.php index ec1a91a8a645972052d9577cf1524077733310fa..1074cad16e1a04545bb1b6ca120facaca9479e80 100644 --- a/includes/class-syndication-wp-xmlrpc-client.php +++ b/includes/class-syndication-wp-xmlrpc-client.php @@ -66,6 +66,8 @@ class Syndication_WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements Syndica $args['custom_fields'] = $this->_get_custom_fields( $post_ID ); + $args = apply_filters( 'syn_xmlrpc_push_new_post_args', $args, $post ); + $result = $this->query( 'wp.newPost', '1', @@ -104,6 +106,8 @@ class Syndication_WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements Syndica $args['custom_fields'] = $this->_get_custom_fields( $post_ID ); + $args = apply_filters( 'syn_xmlrpc_push_edit_post_args', $args, $post ); + $result = $this->query( 'wp.editPost', '1',