[wp-hackers] How to exntend wp_xmlrpc_server in plugin

Martin Lazarov martin at lazarov.bg
Thu Aug 2 18:05:43 UTC 2012


I'm doing something wrong, but don't now what...

So is loaded after plugin is loaded:
class-wp-xmlrpc-server.php is loaded in xmlrpc.php on line 55 and in
my plugin i can't do

class my_xmlrpc_class extends wp_xmlrpc_server ...

Is it posible?

On Thu, Aug 2, 2012 at 8:41 PM, Lionel Pointet
<lionel.pointet at globalis-ms.com> wrote:
> Hi Martin,
>
> Of course you can: look at /xmlrpc.php file on line 65 (WP 3.4.1). You can
> filter on "wp_xmlrpc_server_class" and get your class instanciated!
>
> Lionel
>
> Le 02/08/2012 19:36, Martin Lazarov a écrit :
>>
>> 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