You appear to be a bot. Output may be restricted
Description
Return the URL for a resource file
Usage
$string = oik_url( $file, $plugin );
Parameters
- $file
- ( string ) optional – the name of the file within the plugin – leading '/' omitted
- $plugin
- ( string ) optional default: oik – the plugin's stub
Returns
string fully qualified URL to the resource fileSource
File name: oik-bwtrace/libs/bobbfunc.phpLines:
1 to 5 of 5
function oik_url( $file=null, $plugin='oik' ) { $url = plugin_dir_url( null ); $url .= "$plugin/$file" ; return( $url ); }View on GitHub View on Trac