Determine Plugin Directory and URL in WordPress using WP API

While developing my own WordPress Plugins, I had many occasions where I had to know the URL of the plugin. Especially while including some JavaScript or Stylesheets. Using a relative path is not a good solution for this. As many users have their own content folder. As of WordPress 2.8 it gives many functions to the developers to retrieve system path or URL whatever they want for their plugin. I prefer using the functions more than the...

Read More