plugin_dir_path
plugin_dir_path ( $file )
Parameters:- (string) file The filename of the plugin (__FILE__).
Returns:- (string) the filesystem path of the directory that contains the plugin.
Defined at: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Get the filesystem directory path (with trailing slash) for the plugin __FILE__ passed in.