You appear to be a bot. Output may be restricted
Description
Implement "plugin_information" for our own pluginsstdClass Object ( [slug] => backwpup [per_page] => 24 ) "http://api.wordpress.org/plugins/info/1.0/$plugin_slug.xml";
Usage
oik_lazy_pluginsapi( $false, $action, $args );
Parameters
- $false
- ( mixed ) required –
- $action
- ( mixed ) required –
- $args
- ( mixed ) required –
Returns
voidSource
File name: oik/includes/oik-remote.incLines:
1 to 17 of 17
function oik_lazy_pluginsapi( $false, $action, $args ) { bw_trace2(); $response = false; if ( $action == "plugin_information" ) { $url = oikp_our_plugin( $args); /* We have to exclude the version number (i.e. exclude 1.0 from plugins/info/1.0/ ) since the server end's permalink structure does not expect it */ if ( $url ) { $url .= "/plugins/info/"; $post_args = array( 'timeout' => 15 , 'body' => array('action' => $action, 'request' => serialize($args)) ); $response = bw_remote_post( $url, $post_args ); } } bw_trace2( $response, "response", false ); return( $response ); }View on GitHub View on Trac