You appear to be a bot. Output may be restricted
Description
Register this plugin as one that is served from a different server to WordPress.org
Usage
oik_update::oik_register_plugin_server( $file, $server, $apikey );
Parameters
- $file
- ( string ) required – fully qualified plugin file name
- $server
- ( string ) optional – server name initial value – only set when the server value in the options is blank
- $apikey
- ( string ) optional – hard coded apikey initial value Notes: Plugins registered using the API set the default value for the server … which may be null i.e. they set the intention to be served from somewhere other than WordPress.org When required we determine the actual server location AND other fields as needed during oik_query_plugins_server() At least ONE plugin needs to call this API for the oik plugin server logic to be activated
Returns
voidSource
File name: oik/libs/class-oik-update.phpLines:
1 to 8 of 8
static function oik_register_plugin_server( $file, $server=null, $apikey=null ) { global $bw_registered_plugins; if ( !isset( $bw_registered_plugins ) ) { self::oik_lazy_altapi_init(); } $bw_registered_plugins[] = array( "file" => $file, "server" => $server, "apikey" => $apikey ); //bw_trace2( $bw_registered_plugins, "global bw_registered_plugins", true ); }View on GitHub View on Trac