Can XMLRPC set show_on_front/page_on_front?

These options are not among the default writable $blog_options. Here’s one (untested) idea using the xmlrpc_blog_options filter to make the show_on_front option writeable: /** * Add ‘show_on_front’ to the list of XML-RPC writeable options. */ add_filter( ‘xmlrpc_blog_options’, function( $blog_options ) { if( is_array( $blog_options ) ) { $blog_options[‘show_on_front’] = array( ‘desc’ => __( ‘Show on … Read more

How to enable xmlrpc in WordPress 5?

What are you trying to do? XML-RPC is enabled by default. XML-RPC functionality is turned on by default since WordPress 3.5. In previous versions of WordPress, XML-RPC was user enabled. To enable, go to Settings > Writing > Remote Publishing and check the checkbox. Try going to http://example.com/wordpress/xmlrpc.php, your should see a message saying “XML-RPC … Read more

Multiple new posts using XML-RPC?

Short answer? No. There is a finite list of methods exposed by the XML-RPC interface, and the ones that allow you to create new posts dictate that you create one post at a time. Given, you could always write your own method to allow for bulk post creation, but you should ask a new question … Read more

Why is minimum_args protected?

You can totally swap out the class that runs the xmlrpc server. So create a subclass of wp_xmlrpc_server, use it for the xmlrpc server class, and use all the protected methods you like. Example (not tested, use with caution): <?php class WPSE69959_XMLRPC_Sever extends wp_xmlrpc_server { // override the constructor to add your own methods. public … Read more