plugin_dir_path Wordpress function


Description:

Gets the filesystem 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 filesystem 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_path


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