[wp-hackers] How to exntend wp_xmlrpc_server in plugin

Martin Lazarov martin at lazarov.bg
Sat Aug 4 17:19:49 UTC 2012


I was looking for OOP PHP example rather than functional examples. In
the docs there is no OOP example.

Thanks to Otto now it's working as expected/wanted ("my_xmlrpc_class
extends  wp_xmlrpc_server { ..." - the OOP way )

On Sat, Aug 4, 2012 at 7:18 PM, Max Cutler <max at maxcutler.com> wrote:
> There is indeed documentation on the codex, for example: http://codex.wordpress.org/XML-RPC_Extending
>
> If you only need to add new methods or tweak minor details, then please only do that instead of extending and replacing the entire class. But if you really want an example of how to do it, check out my plugin: http://wordpress.org/extend/plugins/xml-rpc-modernization/
>
> Best,
> Max
>
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Martin Lazarov
> Sent: Thursday, August 02, 2012 1:37 PM
> To: wp-hackers at lists.automattic.com
> Subject: [wp-hackers] How to exntend wp_xmlrpc_server in plugin
>
> I'm trying to extend XML-RPC functionality but there is leak of docs - is there a way to exntend core wp_xmlrpc_server class in plugin?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list