You appear to be a bot. Output may be restricted
Description
Determine if this is one of "our" plugins
Usage
$string = oik_remote::oikp_our_plugin( $args );
Parameters
- $args
- ( mixed ) required – object or array expected to contain "slug"
Returns
string $server – URL to connect with Note: Can we trust slug? Could it be "plugin/plugin-file.php" or just "plugin" It may depend upon the $actionSource
File name: oik/libs/class-oik-remote.phpLines:
1 to 10 of 10
static function oikp_our_plugin( $args ) { $args_slug = bw_array_get( $args, "slug", null ); if ( $args_slug ) { $plugin_settings = oik_update::oik_query_plugins_server( $args_slug ); $server = bw_array_get( $plugin_settings, 'server', null ); } else $server = null; return( $server ); }View on GitHub View on Trac