function getThemeDirectory($path) { if ($this->isWebkit) { $theme_directory = bb_get_plugin_directory('user#bbtouch/bbtouch.php') . '/template/'; return $theme_directory; } else { return $path; } }
function bb_get_plugin_path($plugin = false) { $plugin_path = bb_get_plugin_directory($plugin, true); return apply_filters('bb_get_plugin_path', $plugin_path, $plugin); }