I am writing a software similar to windows live writer and I want to add a feature that will automatically enable XML-RPC on the blog.
I need to know which PHP line is executed when we enable XML-RPC from the Writing menu in Wp-Admin. I’ve taken a look at options-writing.php’s source code but couldn’t find anything.
I tried to execute “checked(‘1’, get_option(‘enable_xmlrpc’));” on the following globals with MU Power Tools:
$blog_id, $wpdb, $wp_roles, $wp_rewrite, $current_user, $current_site
But it didn’t activate XML-RPC. Any suggestions?
- The topic ‘PHP Line executed when enabling XML-RPC?’ is closed to new replies.