Which of the following codes will return the current plugin directory in WordPress?

By ·
Which of the following codes will return the current plugin directory in WordPress?
Answers:
1.      <!–?php plugin_basename($file); ?–>
2.      <!–?php plugin_basename(‘url’); ?–>
3.      < !–?php bloginfo_plugin(‘url’); ?–>

4.      < !–?php content_plugin_url( $path ); ?–>
GA
Gaurav Arora, Digital Media Lead. 10+ years running paid media and tracking for brands in the USA, UK and Canada.