How to get the current plugin folder url in WordPress?
- by admin
- 0
plugin_dir_url( ) function is used to get the current url.
Sample:
$imgurl=plugin_dir_url( __FILE__ ).”placeholder.png”;
plugin_dir_url( ) function is used to get the current url. Sample: $imgurl=plugin_dir_url( __FILE__ ).”placeholder.png”;
plugin_dir_url( ) function is used to get the current url. Sample: $imgurl=plugin_dir_url( __FILE__ ).”placeholder.png”;