plugin_dir_url Wordpress function


Description:

Gets the URL directory path (with trailing slash) for the plugin __FILE__ passed in


Syntax:


Arguments:

(string) $file The filename of the plugin (__FILE__)


Return Type:

(string) the URL path of the directory that contains the plugin


Define At:

wp-includes/plugin.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/plugin_dir_url


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×