Matthew Butt wrote:
> I'm trying to figure out how to work out the URL of a file within a plugin.
$basename = str_replace('\\', '/',
preg_replace('/^.*wp-content[\\\\\/]plugins[\\\\\/]/', '', __FILE__));
$pluginuri = get_settings('siteurl') . '/wp-content/plugins/' . $basename;
Or something like that there.
Owen