How to get the site base url inside a plugin.

Hi,

I need to get the site base url in a plugin.

How can i acheive this.

Is ther any api to acheieve this?

Or Namespace?