xmlrpc_enabled filter not called

Since WordPress 3.5, the core developers have decided to keep xml rpc enabled by default and there are no options in the Admin to disable it. This blog post explains how to disable it by modifying the xmlrpc_enabled filter add_filter(‘xmlrpc_enabled’, ‘__return_false’); But this doesn’t seem to work, I still get the following on the generated … Read more

Is there a way to get protected meta fields through any of the available built-in WordPress APIs? (xmlrpc, wp-json)

WordPress has several APIs build in: XML-RPC REST API by default they don’t return custom post types or protected meta keys. I want to access the protected meta fields of a plugin. I tried to follow the examples given here and here. I did manage that the wp-json API would return custom post types by … Read more

Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)

I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for report generation. The client POS is based on PHPPOS, and I have implemented a module that uses the standard XML-RPC library to send sales data … Read more

WordPress as XML-RPC client?

I want to sync post edits on two sites. Test environment, not production. Single direction (site A to site B, but not backwards). Basically I edit post at my local test stack and same post (part of test content set) at remote server should be updated with identical copy of resulting content. I know that … Read more

Best way to eliminate xmlrpc.php?

What is a best way to eliminate xmlrpc.php file from WordPress when you don’t need it? 8 Since WordPress 3.5 this option (XML-RPC) is enabled by default, and the ability to turn it off from WordPress dashboard is gone. Add this code snippet for use in functions.php: // Disable use XML-RPC add_filter( ‘xmlrpc_enabled’, ‘__return_false’ ); … Read more